IGLU-Agency / stripe-flutter

Stripe Flutter SDK
MIT License
6 stars 2 forks source link

3d secure redirect me to blank page #4

Closed nordinenn closed 4 years ago

nordinenn commented 4 years ago

Hey bro in testing mode 3d secure after click in complete redirect me to blank page , is that okay or something wrong happen with me . (thats okay in testing mode)

LucaIaconelli commented 4 years ago

Did you add a url scheme inside your app?

nordinenn commented 4 years ago

No where and how i can add it ? plz (also im working with php as backend)

LucaIaconelli commented 4 years ago

You can follow this guide: (https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app)

After this, you need to add the returnUrlForSca parameter to the Stripe init.

nordinenn commented 4 years ago

Hey bro , I think everything going well just in test mode they don't ask me about the verification code because in dashboard they say the payment was succesed and verified by 3d secure , but the problem is when user finish payment we should close the browser and back to our application with the result of payment . is that possible ? thank you for your support bro , keep working you have awesome package i really love it .

LucaIaconelli commented 4 years ago

Yes it’s possible with a url scheme (is just for that)

Thanks

nordinenn commented 4 years ago

i have tried with this

but it's still the same . i'm really confused becuase i dont know how to make a url scheme .
that need something to do in backend ?

LucaIaconelli commented 4 years ago

No it's a frontend thing

nordinenn commented 4 years ago

Oh thanks bro i have fixed this problem . i will start to impliment your nice package in different backends , for explain to people how to use this awesome work ASAP . also i think there is a bug in cvc validation , because if i entred a wrong cvc or something like that card be invalid and when i fixed it card not changed to valid , it keep invalid. keep working bro .