Skip to content
Closed
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
1 change: 1 addition & 0 deletions src/Types/GooglePayType.res
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type parameters = {
gatewayMerchantId: option<string>,
allowedAuthMethods: option<array<string>>,
allowedCardNetworks: option<array<string>>,
allowCreditCards: option<bool>,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need to add   allowCreditCards: option,  The sdk passes allowed_payment_methods as raw JSON through to the Google Pay API
and arrayJsonToCamelCase transforms the key to allowCreditCards automatically

}

type tokenizationSpecification = {
Expand Down
Loading