#wendy-
1 messages · Page 1 of 1 (latest)
Hi there 👋 I'm not sure I'm following the question.
Would you mind trying to clarify or elaborate?
yes, i can
so after cancel subscription call with prorated and invoice now then finalize the invoice, if i sent receipt out, it looks good.
but if we refund to customer and do a balance transaction calls, the receipt doesn't look too intuitive to customer and we don't want this email
What purpose does the balance transaction call serve in this flow?
to make the customer balance from -ve to $0
Have you attempted using the API to manually send the invoice to the customer?
https://stripe.com/docs/api/invoices/send
we call the finalize invoice endpoint
does this send endpoint actually email to customer in test mode?
No we don't send emails in Test mode
it doesn't help us then
we need to issue a refund call after this debit invoice sent
To refund the customer balance?
Okay so unfortunately I do not think we can configure the email receipt to not include the balance transaction details. I assume that is what you say the customer finds confusing.
Unfortunately I don't think the Invoice will be able to capture the Refund object since that occurs outside of the Subscription/Invoice process.
for that level of customizations it may make the most sense to build your own invoice email template to send to the user.
so, is there a way to maybe wait for stripe to email customer with the set of invoice/receipt before refund/balanceTx calls?
wait for stripe to email customer
If you mean the automatic invoice email, yes this is possible.
how do we know it's been emailed?
ok thanks!