#edutomesco

1 messages · Page 1 of 1 (latest)

livid iceBOT
hearty marten
#

Hi there!

#

I'm not sure I follow. Is your goal to attach a payment method to a customer with Checkout Session?

fickle sparrow
#

yes!

#

checkout session of type subscription

hearty marten
#

With mode: subscription, then the PaymentMethod will be automatically attached to the customer.

fickle sparrow
#

so it's no doing that

#

I've seen that when not passing the customer so letting the checkout to create the customer then yes it works fined, but when providing an existent customer then it's not attaching

hearty marten
#

Can you share an example of Checkout Session ID (cs_xxx) where you saw this issue?

fickle sparrow
#

cs_test_b1YoaezTMF44x2oWe9oI5my6nUvZoyaZc6G6JW1oRzhx6K8X9N0kJFPapn

#

if you see the customer associated do not have any payment method associated

hearty marten
#

Thanks! Give me a few minutes to look into this.

fickle sparrow
#

sorry but I've checked just few seconds ago and was not set

#

let me did another test

#

now it works maybe there was a frontend cache delay

#

thank you!