flutter-braintree icon indicating copy to clipboard operation
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)

Open vijaypareek13 opened this issue 3 years ago • 3 comments

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.....");
            }

vijaypareek13 avatar Jun 19 '21 05:06 vijaypareek13

having the same problem

developer-farhan avatar Oct 02 '21 11:10 developer-farhan

Having this same issue

AkoSystems avatar Dec 06 '22 13:12 AkoSystems

any update on this issue?

suyashnehete avatar Feb 20 '23 13:02 suyashnehete