DeligenceTechnologies / Braintree-Payment-Gateway-for-Flutter

Braintree Payment plugin for Flutter apps from Deligence Technologies. This plugin lets you integrate Braintree Drop In payment UI in just 4 easy steps.
BSD 3-Clause "New" or "Revised" License
34 stars 27 forks source link

Google pay not showing in payment method list #45

Open JanuszHain opened 4 years ago

JanuszHain commented 4 years ago

It doesn't work for me, I have added In AndroidManifest: <meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true"/>

And that's how I try to call library:

payNow() async {
  BraintreePayment braintreePayment = BraintreePayment();
  var data = await braintreePayment.showDropIn(
    nonce: clientNonce,
    amount: "10.0",
    enableGooglePay: true,
    nameRequired: true,
    googleMerchantId: '12345678901234567890',
  );
  print("Response of the payment $data");
  return false;
}

My device has Android 11, Google Pixel 3a

Originally posted by @JanuszHain in https://github.com/DeligenceTechnologies/Braintree-Payment-Gateway-for-Flutter/issues/35#issuecomment-719521274