#iamshubhamaratha

1 messages · Page 1 of 1 (latest)

unique helmBOT
latent hawk
#

Can you share an example session ID (cs_xxx)?

rough ravine
#

cs_test_b1WjVrwJxDgaf5RcmoIUzsPHT7NhVRkMg9A2owxT4JsqPQ53PwyUjotIhH

latent hawk
rough ravine
#

ye because currently the quantity: 1:

latent hawk
#

You want your customers to be able to change the quantity on the payment page? It's unclear what the issue is

rough ravine
#

but the base amount is 12.99 USD per month yearly so the value should be 12.99 x 1 x 12

#

because the payment mode is yearly

rough ravine
#

no issue If I am unable to explain you

#

can you help me to pass the total amount while creating checkout session

#

with quantity as well

latent hawk
unique helmBOT
rough ravine
#

yes correct that is what I need

latent hawk
#

So create a yearly Price object with the actual yearly price (12.99 * 12) and use that when you create the session

rough ravine
#

so how would I update the price object

latent hawk
rough ravine
#

so any other way of doing this

latent hawk
#

Yep, create a new Price object

rough ravine
#

how would I do that

latent hawk