#Ryan-orders
1 messages ยท Page 1 of 1 (latest)
its weird because the .create works but the .submit doesnt
thoe docs are there in the optional confirm payments manually on server
There's no submit(..) functions in node. Here's the doc for orders submission: https://stripe.com/docs/api/orders_v2/submit?lang=node
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi! I'm taking over river.
I'm not very familiar with the new orders API. Give me a few minutes to run some tests.
Thanks so much !
I know its very new which is why I am struggling a little ahah trying to migrate over
So no problem ๐
and thanks for your help
FYI I run into the same issue: stripe.orders.create() works on my end, but not stripe.orders.submit(). Looking into this.
However the code on this page do work: https://stripe.com/docs/api/orders_v2/submit?lang=node
I'm guessing it's because the feature is still in beta, so some functions might not be available yet.
i see perfect thanks you
This is not ideal, but it works.
oh wait
I just updated my stripe-node to the latest version (9.1.0) and now it works!
oh really !
So it's actually this documentation page that is wrong: https://stripe.com/docs/api/orders_v2/submit
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ill give an update