ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

web confirm payment bug #110

Closed gorillatapstudio closed 2 years ago

gorillatapstudio commented 3 years ago

In V4.0.2/stripe.dart L118 final data = {'return_url': getReturnUrlForSca(webReturnPath: _returnUrlForSca)}; Adding the bold text fixed the failure of payment intent confirmation on web app. Please verify. Thanks!

ezet commented 3 years ago

Not able to confirm right now, but it looks like I've forgotten to add this. Will check and update asap.

varunbhalerao56 commented 3 years ago

Not able to confirm right now, but it looks like I've forgotten to add this. I Will check and update asap.

Hey @ezet any update on this, tried on the latest example the payment does not return success after authentication, and the data returned from the confirmed payment method is empty. @gorillatapstudio did try the above method but does not seem to work with the latest code.

ezet commented 3 years ago

@varunbhalerao56 You are talking about the web platform here, right? I am unfortunately not able to spend much time on the web platform right now. If anyone has ideas, please share them

gauravmehta13 commented 3 years ago

@gorillatapstudio @varunbhalerao56 @ezet Hi guys, is this plugin working for web?

varunbhalerao56 commented 3 years ago

@gorillatapstudio @varunbhalerao56 @ezet Hi guys, is this plugin working for the web?

Hey, @gauravmehta13 I got to know the reason as to why it is not working. It is due to the uni_links package.

I have created an issue in that package but no response yet. I don't think there is a way to implement it easily unless this is solved. https://github.com/avioli/uni_links/issues/117

In the end, I just switched to Stripe checkout instead. (let me know if you need any help with that)

ezet commented 2 years ago

Web support is now fully supported

stylehuan commented 2 years ago

现在完全支持网络支持

It's just an error message