createPaymentFlow does not work without defining a customerId
See original GitHub issueIf customerId is null or not present, it does not work. However, if an empty string is assigned, it works again.
Does not work
const results = await Stripe.createPaymentFlow({
paymentIntentClientSecret: paymentIntent.client_secret,
customerEphemeralKeySecret: paymentIntent.id
});
await Stripe.presentPaymentFlow();
Work.
const results = await Stripe.createPaymentFlow({
paymentIntentClientSecret: paymentIntent.client_secret,
customerEphemeralKeySecret: paymentIntent.id,
customerId: ''
});
await Stripe.presentPaymentFlow();
- OS: Android
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Payment Intent is not defined:TypeScript - Stack Overflow
Looks like TypeScript is unable to determine subscription.latest_invoice as an Invoice object.
Read more >Payment Methods API | Stripe Documentation
The Payment Methods API allows you to accept a variety of payment methods through a single API. A PaymentMethod object contains the payment...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tanrax I can’t wait for your app to be released and used by the masses! I’m looking forward to hearing from you.
Not at the moment, we won’t release the first beta for another month. In any case, I will keep you informed. Thank you very much, from the bottom of my heart, for the good support.