pikaju / flutter-braintree

Flutter plugin that wraps the native Braintree SDKs. Enables payments with credit cards, PayPal, Google Pay and more.
https://pub.dev/packages/flutter_braintree
MIT License
64 stars 116 forks source link

[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(braintree_error, Merchant account not found, null, null) #68

Open vijaypareek13 opened 3 years ago

vijaypareek13 commented 3 years ago

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.....");
            }
developer-farhan commented 2 years ago

having the same problem

AkoSystems commented 1 year ago

Having this same issue

suyashnehete commented 1 year ago

any update on this issue?