-
Notifications
You must be signed in to change notification settings - Fork 390
Closed as not planned
Labels
@shopify/hydrogen-reactBlockedProgress on this issue is blocked by something outside of our controlProgress on this issue is blocked by something outside of our controlStorefront APIIssues related to https://shopify.dev/docs/api/storefrontIssues related to https://shopify.dev/docs/api/storefrontinactive
Description
Description
We need to add the ability to purchase product(s) with Apple Pay.
In Shopify storefronts with Liquid, there are two use cases for the Apple Pay button:
- On the product page
- When clicked, it opens the Apple Pay flow for purchasing just the product from the product page
- On the cart page
- When clicked, it open the Apple Pay flow for purchasing the entire cart
Requirements
- The button should only be visible when the merchant has Apple Pay enabled and the buyer is using a supported device for Apple Pay
- When clicked, the Apple Pay checkout flow should be initiated
- On the product page: for purchasing just that product
- On the cart page: for purchasing the entire cart
- The button should be rendered by the
DynamicCheckoutButtoncomponent when appropriate
Notes
- The
DynamicCheckoutButtoncomponent has a really rough first pass on displaying the ApplePay button (see code here. We'll likely want to extract this code into its own componentApplePayButtonand iterate on it from there.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@shopify/hydrogen-reactBlockedProgress on this issue is blocked by something outside of our controlProgress on this issue is blocked by something outside of our controlStorefront APIIssues related to https://shopify.dev/docs/api/storefrontIssues related to https://shopify.dev/docs/api/storefrontinactive
Type
Fields
Give feedbackNo fields configured for issues without a type.