Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollectInputs param type doesn't match required param check on iOS #742

Closed
nazli-stripe opened this issue Jun 24, 2024 · 1 comment
Closed
Labels
bug Something isn't working next release

Comments

@nazli-stripe
Copy link
Collaborator

Describe the bug
CollectInputsParams expects an inputs fields, however native iOS code enforced a collectInputs field

To Reproduce
Steps to reproduce the behavior:

  1. Call collectInputs and pass {inputs: ....}

Expected behavior
A clear and concise description of what you expected to happen.
Function should work with the inputs fields

Screenshots
If applicable, add screenshots to help explain your problem.

Stripe Terminal React Native SDK version

  • (e.g., ^0.0.1-beta.19)

Smartphone (please complete the following information):

  • OS: iOS

Additional context
This issue was fixed in #740 While we prep the new release as a workaround, you can pass a dummy collectInputs field in the parameters:

collectInputs({inputs: {YOUR_INPUTS}, collectInputs: {}}

@nazli-stripe
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next release
Projects
None yet
Development

No branches or pull requests

1 participant