-
Notifications
You must be signed in to change notification settings - Fork 102
Setting up Apple Pay
Walden Bodtker edited this page Feb 11, 2022
·
3 revisions
This procedure creates the UI and integration for Stripe's Apple Pay, Google Pay, and Pay Now buttons.
- Follow all the steps in the Stripe documentation for React. This will add the Stripe package to the UI, check if the user has a payment method on the device, and render the appropriate button.
- When you get to Step 4, call the
/create-payment-intentAPI endpoint with the user'sdonationAmountto get theclientSecretback. TheclientSecretis sent back to the client to securely complete the payment process instead of the entirePaymentIntentobject. - In Step 5, use the
clientSecretreceived in Step 4 to complete the payment. - Follow the remaining steps in the Stripe documentation.
- Home
- App Logic
- App Structure
- Getting Started
- Local Environment Setup
- Interacting with the Development Database
- User Background
- Features
- Data Structures
- API Quick Reference
- Single Campaign Mode (Beta)
- Front-end
- Components
- Pages
- State Management
- Amplify API reference (Database)
- Lob Mailing API integration
- Auth0 API Integration
- Stripe API integration
- Cicero API Integration
- Twilio API Integration