braintree / braintree-web-drop-in

Braintree Drop-in for the web
MIT License
200 stars 126 forks source link

venmo option not show on desktop website #686

Closed LeVuMinhHuy closed 3 years ago

LeVuMinhHuy commented 3 years ago

braintree.create( { authorization: userStore.braintreeTokenId, container: '#checkout-container', paypal: { flow: 'vault', }, venmo: { allowNewBrowserTab: false, }, },

I've already accept venmo option on braintree sandbox, but for now dropin just only show payment method card and paypal.

Screenshot from 2021-01-14 15-11-18

crookedneighbor commented 3 years ago

You need to specify:

venmo: {
  allowDesktop: true
}
crookedneighbor commented 3 years ago

Or in your case:


venmo: {
  allowNewBrowserTab: false,
  allowDesktop: true
}
lnogueracmnhospitals commented 11 months ago

Do you plan to add these options to the types any time? Because if we use the types we don't get these options and our app doesn't compile. But if we remove the types they work fine.