Skip to content

Commit 2230f17

Browse files
author
Artem
committed
Check if apple pay is available
1 parent c20e190 commit 2230f17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

demo/peacock/src/modules/checkout.js

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ export type CheckoutState = {
3232
billingAddress: ShippingAddress,
3333
};
3434

35+
export const checkApplePay = () => foxApi.applePay.available();
36+
3537
export const selectCreditCard = createAction('CHECKOUT_SET_CREDIT_CARD');
3638
export const setEditStage = createAction('CHECKOUT_SET_EDIT_STAGE');
3739
export const setBillingData = createAction('CHECKOUT_SET_BILLING_DATA', (key, value) => [key, value]);

0 commit comments

Comments
 (0)