About accelerated checkouts
Accelerated checkouts add Shop Pay and Apple Pay buttons to your product and cart pages so buyers can pay without opening checkout. Accelerated checkouts are a separate package that works alongside Checkout Kit. If Apple Pay encounters an error or the buyer needs to enter additional information, then Checkout Kit opens as a fallback.
Accelerated checkouts are available on iOS for native Swift apps and React Native apps. Android isn't supported yet.
Anchor to How it worksHow it works
When a buyer taps a payment button, the purchase completes without opening checkout:
- A buyer taps the Shop Pay or Apple Pay button on a product or cart page.
- The buyer confirms payment in the Apple Pay or Shop Pay payment sheet.
- If the payment succeeds, then Shopify places the order and your app receives an
onCompletecallback. - If Apple Pay encounters an error, then Checkout Kit presents checkout as a fallback so the buyer can pay with a different method.
Anchor to RequirementsRequirements
- Checkout Kit installed in your app.
- iOS 16 or later for Swift, or React Native 0.70 or later.
- The
write_cart_wallet_paymentsaccess scope (request access) for Apple Pay. - Apple Pay payment processing certificates and an Apple developer account for Apple Pay.
- A device configured for Apple Pay (Apple setup) for testing.
Anchor to Customization optionsCustomization options
Each button supports these options:
- Wallet selection: Show Shop Pay, Apple Pay, or both, and control the display order.
- Corner radius: Match the button corners to your app's design.
- Placement: Add buttons to product pages for single-item purchases, cart pages for the entire cart, or both.
Anchor to Lifecycle eventsLifecycle events
The buttons provide the same lifecycle events as Checkout Kit:
- Completion: The buyer finishes checkout. Cart IDs expire after checkout, so clear your local cart state.
- Cancellation: The buyer dismisses the payment sheet.
- Error with fallback: Apple Pay encounters an error. Checkout Kit presents checkout so the buyer can complete the purchase with other payment methods.
Anchor to RepositoriesRepositories
Accelerated checkouts are part of the Checkout Kit SDKs. Each repo includes source code and a sample app:
Anchor to Next stepsNext steps
Was this page helpful?