wilburx9 / rave_flutter

A Flutter plugin for Flutterwaves's rave.
Apache License 2.0
31 stars 58 forks source link

You can only charge US Accounts in Dollars #29

Closed saprahits closed 3 years ago

saprahits commented 4 years ago

Now i'm trying to payment getting this error.

{"status":"error","message":"You can only charge US Accounts in Dollars","data":{"code":"ERR","message":"You can only charge US Accounts in Dollars"}}

wilburx9 commented 4 years ago

Please, can you paste the construction of the RavePayInitializer?

wilburx9 commented 3 years ago

I will be closing this issue since there's been no activity for some time. Please, feel free to reopen when you have more information.

kelvinforteta commented 3 years ago

I'm getting the same error too

var initializer = RavePayInitializer( amount: 100, publicKey: kFlutterwavePublicKey, encryptionKey: kFlutterwaveEncryptionKey) ..country = "NG" ..currency = "NGN" ..email = "kelvin.forteta@gmail.com" ..fName = "Kelvin" ..lName = "Forteta" ..narration = 'Payment for data plan' ..txRef = 'iu282787823hjhjsa8727878ayrem' ..subAccounts = [] ..acceptMpesaPayments = false ..acceptAccountPayments = true ..acceptCardPayments = true ..acceptAchPayments = true ..acceptGHMobileMoneyPayments = false ..acceptUgMobileMoneyPayments = false ..staging = false ..isPreAuth = false ..displayFee = true;

// Initialize and get the transaction result
RaveResult response = await RavePayManager()
    .prompt(context: context, initializer: initializer);

print(response.message);
kelvinforteta commented 3 years ago

was actually caused as a result of ACH payment.