#nacho_446

1 messages · Page 1 of 1 (latest)

near daggerBOT
eager bison
#

Hi
That event is triggered when a Checkout Session is created

#

What you mean exactly by making a payment ? on your backend (off_session ?)

stark pumice
#

Yes

#

On my backend

eager bison
#

You need to redesign your flow

stark pumice
#

I’m trying to add a customer Id that has a payment method added

eager bison
#

You can't use checkout.session.created as a trigger for a payment

#

In that case you don't create a Checkout Session

#

but simply charge the customer off_session

stark pumice
#

How do I do that

#

But it has to be a subscription

eager bison
#

You create a Subscripton in your backend

#

and use the payment method you had as a default payment methods

stark pumice
#

How can I see the response it sends to the webhook and the structure so I can update my webhook

eager bison
#

what response exactly you are looking for ?

stark pumice
#

The response to the webhook so I can update me end

eager bison
#

Sorry I'm not understanding your latest follow up question

near daggerBOT
stark pumice
#

Create subscription then add the customer Id and payment method id. How can I manage the response so I can update my database when the payment is successful and when the recurring payment take place

thick pilot
#

👋 taking over for my colleague. Let me catch up.