#ilamathi-order

1 messages · Page 1 of 1 (latest)

neon trout
#

Hi! The new Order API doesn't create invoices.

forest arrow
#

I know we have invoice API, do we have option to create invoice by mapping particular order to that?

#

So that i can create a invoice for the order manually and can send to the customer though order API not support this out of the box..

neon trout
#

You could manually create an Invoice for the same amount as the one in the Order. And potentially add some metadata to the invoice to link it to a specific Order ID.

forest arrow
#

oh ok.. so i can manually create for the same priceID used for order not by giving the orderID?

neon trout
#

Actually I'm not very familiar with the Order API (since it's quite new), but if you need an invoice then the only way is to manually create the invoice yourself. You just need to make sure you pass all the correct values (price ID, quantity, etc.)

forest arrow
#

ok got..

#

But atleast do we get receipt for order, once it complete? It seems there is no receipt as well for paid_out_of_band case?

#

also this will send to customer by email automatically?

neon trout
forest arrow
#

do we get receipt for all the completed order,? It seems there is no receipt as well for paid_out_of_band case?

neon trout
#

paid_out_of_band is for invoices, right?

forest arrow
#

yes,, i created order and i made payment outside of stripe.. so i marked order os out_of_band.. for this case

#

i couldn;t find receipt link for this

unique knot
#

Hello 👋
Taking over here
give me a moment to catch up please

#

Appreciate your patience.
There wouldn’t be a receipt created in this case since the associated PaymentIntent is cancelled once the order is marked paid out-of-band

#

After you mark an order as paid out-of-band, its payment.status changes to complete, and you receive an order.payment_complete webhook event from Stripe. If the order has an associated PaymentIntent, the PaymentIntent is canceled.

forest arrow
#

any idea on this?

unique knot
#

on what?

forest arrow
#

do we get receipt for all the completed order,? It seems there is no receipt as well for paid_out_of_band case?

unique knot
#

There wouldn’t be a receipt created for paid_out_of_band orders since the associated PaymentIntent is cancelled once the order is marked paid out-of-band

After you mark an order as paid out-of-band, its payment.status changes to complete, and you receive an order.payment_complete webhook event from Stripe. If the order has an associated PaymentIntent, the PaymentIntent is canceled.

forest arrow
#

then in this case how we can share the payment details to the customer?

unique knot
#

for out_of_band orders, you may need to handle it on your end by creating your own receipts.

forest arrow
#

is there any stripe API for that to create receipt?

unique knot
#

I don't believe so.

forest arrow
#

oh ok

#

Is it possible to check sending receipt/invoice to the mail id in in test mode?

unique knot
forest arrow
#

yes, but with test stripe account can we do that?...

unique knot
forest arrow
#

what about invoice? that also send to email by default on successful subscription creation corresponding invoice?

unique knot
forest arrow
#

if i enable this settings, do customer get the mail with stripe test mode? that is my question... i am not getting any mail in test mode.. so want to confirm

unique knot
#

No. Stripe will not send emails in test mode automatically.
You'll need to use the dashboard and send those manually if you want to send these in test mode