This repository has been archived by the owner on Feb 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up Apple Pay
JaymeP edited this page Feb 10, 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-intent
API endpoint with the user'sdonationAmount
to get theclientSecret
back. TheclientSecret
is sent back to the client to securely complete the payment process instead of the entirePaymentIntent
object. - In Step 5, use the
clientSecret
received in Step 4 to complete the payment. - Follow the remaining steps in the Stripe documentation.
- Home
- API Quick Reference
- Amplify API reference
- Lob Mailing API integration
- Stripe API integration