#suren9213

1 messages · Page 1 of 1 (latest)

idle mangoBOT
wheat aurora
#

Hi! Let me help you with this.

#

How are you creating the new payments?

rancid pulsar
#

checkout.sesssion.create method and in options i"m putting the mode to "subscription"

wheat aurora
#

Wait, is the question about Checkout Session or Billing Customer Portal Session?

rancid pulsar
#

Sorry! Yes you are correct! I'm creating subscription with checkout session but after that I'm managing all payment with support billing portal

#

but the problem connected with checkout session

wheat aurora
#

So, the issue is that the customer is not charged immediately in Live mode? How do you know that? What's the Payment Method you're using? Could you please share the Checkout Session ID?

rancid pulsar
#

yes sure

#

cs_live_a1mawlVZn411nRAGHyUcDZINioKt6rLv6Z6imS7QoqYqsFxgx01qiaa8Ud

#

I think it's strange because in test mode it's not working like this

#

because I don't receive the event payment_intent.succeeded in webhook

idle mangoBOT
wheat aurora
#

I don't see that there was an attempt to complete this Checkout Session.

#

What do you see when you go through the Checkout process?

rancid pulsar
#

just a minut i'm going to create new checkout session

#

cs_live_a19Cl07VOVDbcBtGtRbMDMgGorO36cwwDznx54YFvuDZPwcng8uYuEwsnJ

#

and this is subscription id sub_1NdrRnGWJUZQaHEZLEN1Kgs8

analog heron
#

Hey! Taking over for my colleague. Let me catch up.

rancid pulsar
#

Hi!

#

yes sure thank you

analog heron
#

I'm seeing that the checkout session is completed successfully

#

and the subscription is created successfully

#

with 0.20€ charged

#

what is the issue here?

rancid pulsar
#

the problem is 0.20 amount is not chargin imediatly !

#

there is mention that the amount is going to charge after current subscription cycle end

analog heron
#

yes that's expected because the min amount is 0.5€

#

for a charge

rancid pulsar
#

Oh

#

thank you

#

for the answer!