Skip to content
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

Support confirmation of SetupIntents with a payment method ID #226

Merged
merged 1 commit into from
Sep 25, 2024

Commits on Sep 21, 2024

  1. Support confirmation of SetupIntents with a payment method ID

    Previously localstripe only supported confirmation of SetupIntents with
    payment_method_data, which is a dictionary containing the information needed
    to create a PaymentMethod. The Stripe SetupIntents API also allows the caller
    to pass in an already-created PaymentMethod, by ID. This change adds that
    capability to localstripe.
    
    I also added a few of the canonical test articles you can use as a payment
    method ID. These generally map 1:1 with the test card numbers.
    Ben Creech committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    528e2b2 View commit details
    Browse the repository at this point in the history