#NeetCode-Order
1 messages · Page 1 of 1 (latest)
Hi, looking...
When you initialized stripe js did you include the beta header?
https://stripe.com/docs/orders/create-and-process#collect-payment-details
Yeah I did, but I'm using 2020-08-27, looks like 2022-08-01 was just released. But i dont think thats the issue.
I think our Typescript repo simply hasn't included it. Maybe because it's a Beta feature
Yeah if its just a TS thing i can work around it. But since it doesnt show up as a field in (https://stripe.com/docs/js/orders/process_order) im concerned it wont actually email receipts
I think the JS Doc just hasn't caught up with the new parameter. Sorry for inconvenience but could you try to send it like raw JS?
Yeah that's completely fine with me, thanks for the help! Im just not sure how to test it tho, since emails arent sent for test mode.