Key features
- Global coverage: Accept payments from millions of active PayPal accounts worldwide.
- Venmo support: When your PayPal connection’s
ENABLE_FUNDINGparameter includesvenmo, the Web SDK renders a Venmo button under the PayPal button once PayPal confirms the buyer is eligible (a US buyer paying in USD). - Express checkout: Render standalone PayPal and Venmo buttons directly on product, cart, or payment pages.
- Vaulting & Pay Later: Support billing agreements and installments (Pay in 4 / Pay Later) where eligible.
SDK integration
PayPal is available as an express button across Web SDK flows (Full Checkout, Lite, and Seamless) as well as the Yuno SDK.Express button configuration
PassexternalButtons.paypal in startCheckout() or startSeamlessCheckout() to customize button appearance:
externalButtons.paypalBraintree with shipping callbacks such as onShippingAddressChange. See the Web SDK reference for full options.
Enrollment flow
For recurring payments or tokenization, mount the PayPal button in enrollment mode usingmountEnrollmentLite(). See PayPal enrollment with element render mode.
Direct integration with a Braintree nonce
If you collect PayPal in your own checkout with the Braintree JS SDK and call Yuno server to server, send the single-use Braintree nonce on aDIRECT payment. Yuno forwards it to the Braintree connection, which charges it and, with vault_on_success, vaults the PayPal account.
- Collect the PayPal approval with the Braintree JS SDK and get the nonce.
- Create the payment with Create Payment:
workflowDIRECT,payment_method.typePAYPAL_BRAINTREE, the nonce inpayment_method.detail.wallet.provider_payment_tokenand, to save the account,payment_method.vault_on_successtrue. - On success, the payment returns
payment_method.vaulted_token. Charge later payments with thatvaulted_token. Yuno creates thevaulted_tokenonly when the payment carriescustomer_payer.id. - When you need the Braintree payment method id (for example, to share the PayPal account with a partner through the Braintree Grant API), read it from the payment response in
payment_method.payment_method_detail.wallet.provider_token. Retrieve Payment returns the same value, and Retrieve Payment Method returns it asprovider.tokenfor thevaulted_token.
provider_payment_token:
- Accepted only on the
DIRECTworkflow;REDIRECTandSDK_CHECKOUTreturn400 INVALID_REQUEST. - Must not be blank and must not be combined with
wallet.payment_token,wallet.cryptogram,payment_method.tokenorpayment_method.vaulted_token. - The nonce is single use: send a new one on every payment that uses it. Yuno does not store it.
Mobile browser presentation
When shoppers trigger PayPal or Venmo express checkout on mobile devices:- iOS browsers (Safari, Chrome, Firefox, Edge on iOS), including Venmo: By default, mobile browsers opening popups freeze background browser tabs, which can interrupt payment handshakes. The Web SDK can show PayPal and Venmo in an in-page modal iframe overlay instead, keeping the merchant page active while the order is handed off. The overlay shipped in Web SDK 1.11.40 and is off by default; Yuno enables it per account.
- Desktop: Desktop browsers (such as macOS Safari) always use a popup window.
- Order generation time: The SDK logs when generating the order takes longer than 30 seconds, without failing the session or returning an error to the shopper.