Closed mostafa3ly closed 2 years ago
@mostafa3ly Thanks for issue. I released next version, please try this:
npm i @capacitor-community/stripe@latest @stripe-elements/stripe-elements@latest
This is https://github.com/stripe-elements/stripe-elements issue. If you have next issue, please ask here.
This worked for me!
@hmarquez-solutions @mostafa3ly I'm glad you got it sorted out! Did you use this plugin for production? If yes, please tell us what app. This help development this plugin.
👉 https://github.com/capacitor-community/stripe/issues/145
Thanks.
Platform
Describe the bug Accept payment is not working on ionic react js app. i have two issues: 1 - when i present payment sheet for the first time it appears like this
but when close and open again it appears fine and this is a bad experience for the user
2 - when i try to test the card payment using the test api keys and test data on stripe official documentation the page is redirect to the same page appended to it the query of zip code http://localhost:8100?zipCode=00000 and no completation callback is called and i try this for payment sheet and payment flow and i think my server code is fine and my stripe account is fine, cause i test it on the official react js api and it success. also when i click on presentPaymentSheet it logs this error
client side package.json
client side code
App.tsx
server side code which has no issues by the way