forked from solidusio/solidus_paypal_commerce_platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow control over Venmo PayPal financing option
Resolves issue/ticket: - solidusio#136 If a transaction meets Venmo prerequisites [1], then Venmo button should appear already on checkout, cart and product page depending on payment method preferences. These changes is to give more control to the developer so that they can disable Venmo by setting the `enable_venmo` to false. https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk-configuration/#disable-funding As it Venmo may have already been showing for developers, the default was set to true. The enable-funding option is now also sent over to ensure that the Venmo button gets rendered if eligible: https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk-configuration/#enable-funding https://developer.paypal.com/docs/business/checkout/pay-with-venmo/integrate-pay-with-venmo/#always-request-venmo [1] https://developer.paypal.com/docs/business/checkout/pay-with-venmo/#eligibility
- Loading branch information
1 parent
d22dd9d
commit 5f5baef
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters