solidusio / solidus_paypal_braintree

⛔️ [Archived] Use solidus_braintree instead!
https://github.com/solidusio/solidus_braintree
BSD 3-Clause "New" or "Revised" License
37 stars 78 forks source link

Add Venmo as a PayPal funding option for checkout #305

Closed RyanofWoods closed 2 years ago

RyanofWoods commented 2 years ago

Resolves issues/tickets:

Setting the preference enable_venmo to true will now show a Venmo button on checkout for customers to whom it is available.

For testing purposes, the string preference force_buyer_country was added. You can use this to mock what country the buyer is from, allowing you to see what funding sources are shown to customers in various countries.

This preference does not affect checkout on production, environment. Instead, PayPal will get this information from their IP geolocation.

More information: https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk-configuration/#buyer-country