Closed saprahits closed 3 years ago
Please, can you paste the construction of the RavePayInitializer?
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.
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);
was actually caused as a result of ACH payment.
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"}}