Getting issue in flutterwave live mode

381 Views Asked by At

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"
2

There are 2 best solutions below

1
On

Make sure the debug mode is false

0
On

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

isDebugMode: Foundation.kReleaseMode,