mkharibalaji / react-native-adyen-payment

React Native Adyen Payment
https://mkharibalaji.github.io/react-native-adyen-payment/
MIT License
35 stars 35 forks source link

drop-in callbacks not working in Android #14

Closed jackie-clarityhk closed 4 years ago

jackie-clarityhk commented 4 years ago

I have make it work in iOS . However, when running on Andoird:

  1. click pay button , the drop-in did show up
  2. if I click outside the drop-in, the drop-in hide but the callback AdyenPayment.onError is not firing.
  3. instead of step 2, if I input valid credit card , the app did calling the /paymentMethods in my server. then the drop-in hides . and it didn't fire the AdyenPayment.onSuccess or AdyenPayment.onError. The backend server did return 200 for the /payments api

    I am using "react": "16.9.0", "react-native": "0.61.5", "react-native-adyen-payment": "^1.3.2",

so I didn't do manual linking but use react-native 's auto linking. Any idea about this bug ?

jackie-clarityhk commented 4 years ago

For more details, I am using the startPayment exactly the same as the sample in https://mkharibalaji.github.io/react-native-adyen-payment/#/USAGE