Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Next] Saved Payment methods #80

Merged
merged 3 commits into from
Dec 11, 2024
Merged

[Next] Saved Payment methods #80

merged 3 commits into from
Dec 11, 2024

Conversation

danbillson
Copy link
Contributor

Updates the Checkout.open and checkout settings types to include changes related to saved payment methods

Relevant docs: https://developer.paddle.com/changelog/2024/saved-payment-methods#change-fields

Changes

  • saved_payment_methods is now an option for allowedPaymentMethods
  • A customerAuthToken can be provided to show saved payment methods (this is mutually exclusive with the customer field so customer cannot be used with a customerAuthToken)
  • A savedPaymentMethodId can be provided to preselect a saved payment method

@danbillson danbillson self-assigned this Dec 11, 2024
@vifer vifer requested a review from AdamPaddle December 11, 2024 10:59
@danbillson danbillson merged commit 4b2e9c5 into main Dec 11, 2024
4 checks passed
@danbillson danbillson deleted the payment-methods branch December 11, 2024 11:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants