#vipin_84716

1 messages · Page 1 of 1 (latest)

fathom driftBOT
marsh garnet
#

hi there!

#

how are you accepting payments? Checkout Session, Payment Element, something else?

#

are you using a plugin to implement Stripe, or did you build the Stripe integration yourslef?

maiden fog
#

Checkout session and we are using stripe integration?

marsh garnet
#

so what you are describing you are creating two different Checkout Session?

#

if so that's expected that one has only 1 product and the other 2 products

#

if needed you can expire the first Checkout Session

#

and make sure the new Checkout Session you create has all relevant products

maiden fog
#

see by using session i have stored one product and after creating duplicate tab by the customer he added one more product after that he come back to the first tab and paying only for the first products so that is my issue
As a result i need when user create duplicate tab and once he come back to the previous tab page will refresh , it may help us so please guiude us for this

#

and yes once user add any product we are adding to the cart i.e. on database as well

dim depot
#

This is a particular use case, you'll need to implement more custom integration

#

One solution is to synchronize the customer's chart between tabes (that will be depending on the framework you are using, e.g. localstorage) and use Stripe Element for accepting payment. For each chart changes you need to update the PaymentIntent total amount and by result updating the PaymentElement

maiden fog
#

Thank you so much let me check and will update you