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

Google pay without totalPrice #90

Closed SeriousMonk closed 1 year ago

SeriousMonk commented 2 years ago

I should be able to include Google Pay as payment method in the BraintreeDropInRequest without specifying a currency or an amount. In my case I need to create a subscribtion. Braintree docs say that I must first create a Customer with a payment method in the Vault and only then I can create a subscription. I am therefore using the DropIn UI just to get a payment method for the customer. So you see how I can't specify a price since it is defined in the Braintree dashboard. It would be very bad practice to hardcode the price in the client...

libaipeng1314 commented 2 years ago

Has your problem been solved? My problem is not Google payment

pikaju commented 1 year ago

I think Braintree does not support subscriptions with Google Pay. Only one-time instant purchases.