flutter-braintree
flutter-braintree copied to clipboard
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(braintree_error, Merchant account not found, null, null)
I am getting this error while executing the example code. I have also tried using paypal sandbox account linking but same result.
var request = BraintreeDropInRequest(
tokenizationKey: "sandbox_w3wzbhghkg_zvyjpjk48b58khjw",
collectDeviceData: true,
// googlePaymentRequest: BraintreeGooglePaymentRequest(
// totalPrice: '4.20',
// currencyCode: 'USD',
// billingAddressRequired: false,
// ),
paypalRequest: BraintreePayPalRequest(
amount: '10.00',
displayName: 'Text App',
),
cardEnabled: true,
);
BraintreeDropInResult? result =
await BraintreeDropIn.start(request);
if (result != null) {
// showNonce(result.paymentMethodNonce);
print(result.paymentMethodNonce.description);
print(result.paymentMethodNonce.nonce);
}
else{
print("error.....");
}
having the same problem
Having this same issue
any update on this issue?