#Sinduri-checkout-prefill
1 messages · Page 1 of 1 (latest)
Hey, taking a look. Assumption is there's required fields missing from the Payment Method object
okay, thanks in advance
Hmm, cus_M5mAk3cxh5Yx6Q has no saved PMs?
Ok, but I found this on your doc "If a Customer has been provided or Checkout creates a new Customer, Checkout will attach the payment method to the Customer."
Based on this, I provided customer to this request - req_inzYsEZY6Pmi2E
So the payment method of this checkout will attach to the customer I provide?
That customer wasn't created via Checkout though: https://dashboard.stripe.com/test/logs/req_umpfRk7ekozvxq
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
How the customer will be created via checkout?
If you don't pass the customer parameter. In both examples above, you've passed an existing Customer ID:
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And that customer doesn't have a payment method saved
ok, let me check and get back to you