简体   繁体   中英

Getting issue in flutterwave live mode

I have implemented flutterwave test mode credentials and it is working fine in local but when I go for live and setup live key properly in my env file then also it is showing me error "Invalid public key passed". my flutterwave account is also in live mode. Can anyone help me to resolve this issue?

RAVE_PUBLIC_KEY="FLWPUBK-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
RAVE_SECRET_KEY="FLWSECK-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
RAVE_SECRET_HASH="xxxxxxxxxxxxxxxxxxxxxxxxx"

Make sure the debug mode is false

This is issue because you have used debug. in your Flutterwave.forUIPayment . Use this

isDebugMode: Foundation.kReleaseMode,

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