-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Payment Sheet | Error when using payment intent created by an invoice #901
Comments
my thinking is that this could be fixed in a newer version since we've made lots of updates since then. Could you try this with |
@charliecruzan-stripe This works, thanks! I did get a warning
Though everything works as intended. Is there a risk here having a new package that isn't recognized as compatible with expo SDK 44? |
Looks like this build failed on android, probably due to the version incompatibility. Is there an expected time when V0.7.0 will be supported by expo sdk 44 |
You cannot use a newer version in the Expo Go app, but you should be fine using a newer version with EAS Build.
It's probably this issue, you'll need to update the android sdk versions: #812
It will be supported by a future Expo SDK, but not by 44 Closing since the bug is fixed in newer versions |
Describe the bug
I am trying to pay a one off invoice for a customer with the mobile payment element.
I initialize the payment sheet with a payment intent that I received off the finalized invoice (the invoice is set to not automatically proceed and attempt payment)
This flow works fine when a customer does not have a default payment method on their account.
If there is a default payment method, the payment intent on the invoice has that default payment method attached to it, which seems to cause an error when presenting the payment sheet.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the payment sheet to present and allow the customer to choose the payment method to charge for the invoice.
Screenshots
Video
Error on Frontend
Smartphone (please complete the following information):
Additional context
This flow works if the customer doesnt have a default payment method, since in that case, the payment intent created by the invoice does NOT have a payment method attached to it. The payment sheet presents just fine and the invoice gets paid properly
The text was updated successfully, but these errors were encountered: