recurly / recurly-js

Simple subscription billing in the browser
https://js.recurly.com/
MIT License
645 stars 138 forks source link

feat(google pay): Add support for `existingPaymentMethodRequired` #849

Closed cbarton closed 1 year ago

cbarton commented 1 year ago

Adds support for IsReadyToPayRequest.existingPaymentMethodRequired to emit a google-pay-not-available error and not render the button if the user does not have a card that is supported by merchant's gateway configuration.

This can be configured via the existingPaymentMethodRequired option in recurly.GooglePay.