-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v6 - Adding isExpress flag for GooglePay and ApplePay #2597
Conversation
|
Size Change: +266 B (0%) Total Size: 1.14 MB
ℹ️ View Unchanged
|
size-limit report 📦
|
|
test('should throw error when express callbacks are passed but isExpress flag is not set', () => { | ||
expect(() => new GooglePay(global.core, { paymentDataCallbacks: { onPaymentDataChanged: jest.fn() } })).toThrow(); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to see this documented somewhere. There's no mention about it on your documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @asumaran - we do mention in the release notes, but indeed we are not mentioning it in the payment method page itself. I shared the feedback with the docs team. Thanks for flagging it
Summary
isExpress
flag . This flag makes the component add thesubtype: 'express'
to the payment data. This impacts the reports on CA, showing to merchants the payments that are being done using express flow.Tested scenarios