-
Notifications
You must be signed in to change notification settings - Fork 14
PayPal
PayPal is an international payment provider that supports payment either by credit/debit card or direct bank transfer.
We use PayPal in two different ways on the support checkouts.
For recurring payments, whether for a recurring contribution or a subscription product, we use the PayPal JS SDK to create a branded PayPal button React component, which when clicked will open a pop up window to PayPal enabling the user to log in and authorise a payment. When the user completes their payment in this window we receive a billing agreement ID (baid
) from the PayPal SDK which, similar to a Stripe payment method token, we can later use to retrieve the money.
For one-off contributions, we instead render a standard Source button which when clicked will redirect the user off the support site to a PayPal domain. When the user completes the payment, they will then be directed back to the support site and we'll render the thank-you page.
- Redux Glossary
- Why Redux Toolkit?
- Writing state slices with Redux Toolkit
- Handling action side effects in Redux
- Presentational and Container Components
- Scoped actions and reducers
- Server Side Rendering
- Form validation
- CI build process
- Post deployment testing
- Post deployment test runbook
- TIP Real User Testing
- Code testing and validation
- Visual testing
- Testing Apple Pay locally
- Test Users
- Deploying to CODE
- Automated IT tests
- Deploying Fastly VCL Snippets
- Archived Components
- Authentication
- Switchboard
- How to make a fake contribution
- The epic and banner
- Environments
- Tech stack
- Supported browsers
- Contributions Internationalisation
- Payment method internationalisation in Guardian Weekly
- Print fulfilment/delivery
- Updating the acquisitions model
- Runscope testing
- Scala Steward for dependency management
- Alarm Investigations
- Ticker data
- Ophan
- Quantum Metric
- [Google Tag Manager] (https://github.com/guardian/support-frontend/wiki/Google-Tag-Manager)