Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/__tests__/ApplePayWebView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ describe('ApplePayWebView — envelope unwrapping', () => {
bin: '411111',
last4: '1111',
network: 'visa',
expiration: '2027-12',
// The iframe posts the raw tokenizer result (TokenizeApplePayResult),
// whose expiry field is `expiry` — not `expiration`.
expiry: '2027-12',
},
billingContact: {
givenName: 'Jane',
Expand Down
2 changes: 1 addition & 1 deletion src/payments/ApplePayWebView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const ApplePayWebView = ({
bin: tokenResult?.bin as string | undefined,
last4: tokenResult?.last4 as string | undefined,
network: tokenResult?.network as string | undefined,
expiration: tokenResult?.expiration as string | undefined,
expiration: tokenResult?.expiry as string | undefined,
boltReference:
typeof message.boltReference === 'string'
? message.boltReference
Expand Down
Loading