#ken_kentan
1 messages · Page 1 of 1 (latest)
Hi there!
payment_method_collection is used when, for example, you create a subscription with a free trial. In this case the payment method collection is not required since there's nothing to pay.
If you do pass a customer ID with an existing payment method, then Stripe will try to prefill it, as mentioned here https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
Is there any way to disable the prefill?
I don't think there's a way to disable that, except if you don't pass a customer ID, or if the payment method of the customer does't meet the criteria listed on the link I shared:
A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.