#Samsara

1 messages ยท Page 1 of 1 (latest)

warm capeBOT
jagged trellis
#

Hello ๐Ÿ‘‹
Yes you should be able to use the same ClientSecret to accept a new PaymentMethod

polar depot
#

okay thanks

#

we're having weird issues with capturing certain payment intents

jagged trellis
#

What errors are you seeing? Can you share any examples I can take a look at?

polar depot
#

pi_3MddCHDOFRgysF662mhJFLO8

jagged trellis
polar depot
#

I guess my question is how could there be a scenario when a payment intent is trying to be captured without a payment method set

jagged trellis
polar depot
#

Can you check this one

#

pi_3Mde87DOFRgysF661f7qoVUm

winged wyvern
#

Hello! I'm taking over and catching up...

polar depot
#

I don't understand how that could happen though before calling stripe.confirm since we have it all in our submit handler. Mind taking a look at this piece of code and seeing if anything jumps out at you?

winged wyvern
#

Yep, give me a few minutes...

polar depot
#

Thank you so much

winged wyvern
#

As far as I can tell that code isn't relevant. What happened here is your backend code created the Payment Intent, then you skipped straight to trying to capture it. There was no confirmation step in between.