简体   繁体   中英

Why is the callback function not working while using react-flutterwave-rave on test mode?

I am working with flutter wave as my payment system for a web app that i am building. I am using react, so i used react-flutterwave-rave package from npm. Everything works just fine, my problem is that after inputting the test card, the response is that We could not charge this card. Reason: This is a test environment, only test cards can be used We could not charge this card. Reason: This is a test environment, only test cards can be used and won't call the callback function to run some other code that i want to run. How can i by pass this since i am don't want to go live yet ?

There is a test card in flutterwave documentation. Use the card itself instead of a live card if you are in test mode and everything will work just fine

你的API key不对,去flutterwave复制测试公钥,然后就可以使用测试卡了

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM