#Potato-PaymentSheet
1 messages · Page 1 of 1 (latest)
Got it, one sec
Ok, the PI status is requires_payment_method and the paymentsheet should accept this PI. What's the SDK version that you are using? Is this happening in both Android and iOS?
I'm using version:
"@haughty tree/stripe-react-native": "^0.4.0",
and it's happening on my IOS device
Object {
"code": "Failed",
"declineCode": null,
"localizedMessage": null,
"message": null,
"stripeErrorCode": null,
"type": null,
}
OK, did you manage to test it in Android?
I can run a quick test, but the strange part is it only happens when I set the default payment method for the customer
if I remove that it works
I see, so you have already set a invoice_setting.default_payment_method on the customer?
yeah, exactly
I see, in that case you don't need to present the payment sheet.
Stripe will use this payment method as the default payment method for the subscriptions on this customer
how do I create the subscription then, since when I create the subscription it sits in the incomplete state
If you have already collected the payment details, you can create the subscription with payment_behaviour=allow_incomplete, in this way Stripe will immediately attempt to pay the invoice and set the subscription status to active upon successful payment.
Cool! I'm happy to hear it works.