#pan,pnpp - checkout

1 messages · Page 1 of 1 (latest)

finite hatch
#

hi there!

  1. How to set default payment method on stripe checkout page?

This isn't possible directly from the Stripe Checkout page. You would have to make a subsequent API request to set invoice_settings.default_payment_method [0]

  1. How to choose other saved payment method on stripe checkout page?

This isn't possible as well - If you create a Checkout Session with a Customer defined : In payment mode, the customer’s most recent card payment method will be used to prefill the email, name, card details, and billing address on the Checkout page. In subscription mode, the customer’s default payment method will be used if it’s a card, and otherwise the most recent card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.

The customer doesn't get to choose from a list of payment methods.

[0] https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method