square / square/mobile-payments-sdk-react-native
Cannot make transactions on Android
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 16
- Forks
- 8
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
After running the example app and successfully validating with Square, we are unable to make any transactions in either sandbox or production on Android. iOS works fine, but we are seeing the error:
{"nativeStackAndroid":[],"userInfo":{"debugMessage":"Started a payment with invalid parameters. Invalid Test Card","debugCode":"payment_invalid_parameters","details":[],"errorMessage":"Something went wrong: Started a payment with invalid parameters. Invalid Test Card Please contact the developer of this application and provide them with this error code: payment_invalid_parameters","errorCode":"USAGE_ERROR"},"code":"PAYMENT_FAILED"}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the example app on Android and reproduce the failure using the reported sandbox and production flows after Square validation. Compare the Android path with the working iOS behavior and trace the reported payment_invalid_parameters and Invalid Test Card response. Done means transactions work on Android in both environments, with an appropriate regression check if the repository provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- mobile, payments
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100