#Pan-checkout-pm
1 messages · Page 1 of 1 (latest)
Hey there!
After set default payment method, why on checkout page still use latest payment method? or is there anyway to use default payment method with single-payment on checkout page?
Checkout will default to using the 'latest' PM for the Customer provided. Also, the default payment method (invoice_settings.default_payment_method) has no influence on one-time payments - you can't set a default there.
Is there anyway to set payment method id when create checkout session to use it on checkout page?
Currently not, no. The best you can do is prefill by passing thecustomerparameter: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout#handling-existing-customers