wgltony / react-native-braintree-dropin-ui

React Native integration of Braintree Drop-in for IOS & ANDROID (Apple Pay, Google Pay, Paypal, Venmo, Credit Card)
MIT License
78 stars 104 forks source link

GoogleMerchantID is Missing ??? #16

Closed mkharibalaji closed 5 years ago

mkharibalaji commented 5 years ago

Hi @wgltony, How do i configure the GoogleMerchantID ?

Thanks & regards, Hari

soarb commented 5 years ago

I was wondering the same thing. The googleMerchantId is optional in Braintree Sandbox environments, but as part of getting any app accepted for Production you must first request a merchant id from Google then supply this in the GooglePaymentRequest (https://developers.braintreepayments.com/guides/drop-in/setup-and-integration/android/v3)? Other than forking this repository and making the necessary changes, I can't see a way to do this (unless I've missed something obvious?)

mkharibalaji commented 5 years ago

@soarb - You are correct.

BradyShober commented 5 years ago

As far as I can tell this would require updating the Android drop in UI version from 3 to 4, but this uses AndroidX dependencies so will not work in react-native versions prior to 0.60 which does not yet have a stable release.

BradyShober commented 5 years ago

As this package appears to be inactive currently, I've published a new package forked from this one with Google Pay support and some other fixes and improvements. https://github.com/BradyShober/react-native-braintree-dropin-ui