-
Notifications
You must be signed in to change notification settings - Fork 83
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
createPaymentFlow does not work without defining a customerId #162
Comments
Thanks for issue. I did not envision a case where customerEphemeralKeySecret was available and customerId could not be obtained. Only a simple check is performed here. iOS: https://github.com/capacitor-community/stripe/blob/master/ios/Plugin/PaymentFlow/PaymentFlowExecutor.swift#L16-L19 What is the specific use case where customerId does not exist? |
According to the documentation, the customer is optional with the following description:
I assume, and correct me if I am wrong, that a payment can be made without a customer. |
@tanrax Oh, you are right. PaymentSheet and PaymentFlow must customer optional. I will fix as soon as possible. |
@tanrax I released v3.6.0-0. Please try this. npm i @capacitor-community/[email protected] Thanks. |
Thanks to you for such speed and professional workflow :) |
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. |
@tanrax I can't wait for your app to be released and used by the masses! I'm looking forward to hearing from you. |
If customerId is null or not present, it does not work. However, if an empty string is assigned, it works again.
Does not work
Work.
The text was updated successfully, but these errors were encountered: