#g105b

1 messages · Page 1 of 1 (latest)

tired nimbusBOT
bleak bone
vast pulsar
#

OK thank you. I'm implementing this in a hurry because about this time last year I was told (in here) to use the Orders API. It's been working perfectly ever since, but I got told last week that the orders API will be turned off next week!! So I'm refactoring everything and have learnt a lesson not to use beta APIs.

#

Now I've switched to confirmPayment, but I'm still struggling to get it to go through. Please see req_vQyouw13svkY5H. I have the PaymentIntent client secret, and I have an object returned from stripe.elements.create, but passing it into the confirmPayment function doesn't seem to work. The docs doesn't provide an example for this.

bleak bone
#

Hm, I'm not seeing that the contents of the Element were passed to the confirmation call. Can you share the snippet of the code that you're using to confirm the payment?

vast pulsar
#

Sorry, I was passing the created elements object, not the Stripe.elements object itself. OK I've made a dev payment - thank you for guiding me.

I think I'm just about finished migrating from Orders API. It's been a bit of a rush, but the support here is the best in the world, so thank you very much!

bleak bone
#

Any time, wer're always happy to help!