tolu360/react-native-paystack

OTP Screen

Ifunanyacollins opened this issue · 8 comments

Some card requires OTP to finalize your payment and from your SDK Docs, you didn't show how to handle this scenario. Please, can you help?

Yeah, I get this input screen to put in my pin and after that, the transaction fails (When I use a real card). I tried all the test card that requires OTP/PIN and it failed.

Thanks in advance.

Test cards that do not require OTP / PIN work but test card that requires that fails (It doesn't show me a field to fill the PIN/OTP ). I tried the test card that simulates bank authorization it pops up an empty modal and afterward charged the card.

@Ifunanyacollins can you share the OTP card you used that didn't work?

Card Number: 5060 6666 6666 6666 666 (Verve)
Expiry Date: any date in the future
CVV: 123
PIN: 1234
OTP: 123456

Card Number: 408 408 0000000 409
Expiry Date: any date in the future
CVV: 000

This pop up some kind of blank modal, I am assuming this modal is meant to have input fields to collect OTP but it is blank.

Card Number: 5060 6666 6666 6666 666 (Verve)
Expiry Date: any date in the future
CVV: 123
PIN: 1234
OTP: 123456

You should see similar OTP/PIN screens on Android or iOS if you use the test card you referenced here:

Screenshot_1567621196

Screenshot_1567615775

You may want to try again on the latest release - v3.4.0 though, see #38 for more info.

Cheers!