Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository contains sample integrations for PayPal's v6 Web SDK. Learn how

- make one-time payments with different payment methods like PayPal and Venmo
- save payment methods for future transactions
- add Pay Later messaging (coming soon)
- add Pay Later messaging

## Before You Code

Expand Down
11 changes: 6 additions & 5 deletions client/components/paypalPayments/oneTimePayment/html/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ npm start

### Sample Integrations

| Sample Integration | Description |
| ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Recommended](src/recommended/index.html) | Start with this recommended sample integration. It displays all buttons supported by the v6 SDK and includes eligibility logic. It uses the "auto" presentation mode which attempts to launch a popup window and then automatically falls back to the modal presentation mode when the browser does not support popups. |
| [Custom Payment Handler](src/advanced/paymentHandler/index.html) | This custom integration uses the experimental "payment-handler" presentation mode. It teaches how to control the fallback logic for presentation modes based on what the browser supports. |
| [Custom Sandboxed Iframe](src/advanced/sandboxedIframe/README.md) | This custom integration demonstrates how a merchant can wrap the v6 SDK integration code into their own iframe and what values need to be passed to the [iframe sandbox attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox). It does require two web servers to demonstrate the use case. Refer to the README in the src/advanced/sandboxedIframe directory to learn more. |
| Sample Integration | Description |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Recommended](src/recommended/index.html) | Start with this recommended sample integration. It displays all buttons supported by the v6 SDK and includes eligibility logic. It uses the "auto" presentation mode which attempts to launch a popup window and then automatically falls back to the modal presentation mode when the browser does not support popups. |
| [Payment Handler](src/advanced/paymentHandler/index.html) | This advanced integration uses the experimental "payment-handler" presentation mode. It teaches how to control the fallback logic for presentation modes based on what the browser supports. |
| [Redirect](src/advanced/redirect/index.html) | This advanced integration uses the "redirect" presentation mode. It teaches how to do a full-page redirect integration with the PayPal button on button click. |
| [Custom Sandboxed Iframe](src/advanced/sandboxedIframe/README.md) | This advanced integration demonstrates how a merchant can wrap the v6 SDK integration code into their own iframe and what values need to be passed to the [iframe sandbox attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox). It does require two web servers to demonstrate the use case. Refer to the README in the src/advanced/sandboxedIframe directory to learn more. |