Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google pay not showing in payment method list #45

Open
JanuszHain opened this issue Oct 30, 2020 · 0 comments
Open

Google pay not showing in payment method list #45

JanuszHain opened this issue Oct 30, 2020 · 0 comments

Comments

@JanuszHain
Copy link

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 #35 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant