const { presentApplePay } = useApplePay({ onShippingMethodSelected: (shippingMethod, handler) => { handler([ { label: 'Example item name 1', amount: '11.00' }, { label: 'Example item name 2', amount: '25.00' }, ]); }})
const { presentApplePay } = useApplePay({ onShippingContactSelected: (shippingContact, handler) => { handler([ { label: 'Example item name 1', amount: '11.00' }, { label: 'Example item name 2', amount: '25.00' }, ], [ { field: 'city', message: 'city error' }, ]); }})
Generated using TypeDoc