#gabor

1 messages · Page 1 of 1 (latest)

gusty baneBOT
fiery flume
high pendant
#

Hm, that is turned off, and I am receiving the invoice (in test environment, when triggering send manually).

#

Thanks for looking into it, by the way!

fiery flume
#

And we don't send automatic emails in test mode

high pendant
#

ah, ok

#

Is there a way to test this?

fiery flume
#

Not without being in live mode

high pendant
#

Hm, ok. Is there a recommended way of testing payments in live mode? (I'm a newbie.)

fiery flume
#

You shouldn't, its against our ToS

high pendant
#

okay, not a straightforward situation then 🙂

fiery flume
#

Unfortunately not! An alternative would be to set the email on the Customer to some defunct address

high pendant
#

If there is no option for automatic emails without invoice, can I send the receipt via the API?

#

We user Sendgrid already for transactional emails, so if I could just pass the generated receipt to a Sendgrid email template, that could be a good solution.

#

…and I would tie the send logic to our Stripe event handlers (webhook)

#

Probably not as reliable solution than letting Stripe do the send, but it could be alright.

fiery flume
#

You can turn on payment emails, yes. They'll send receipts (separately)

hushed swan
#

đź‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

high pendant
#

Hi @hushed swan

#

Yes, I am not sure what "turning on payment emails" mean in this case. Could you elaborate please? Is that about doing it programmatically?

hushed swan
#

what my colleague was saying was basically there are some settings for emails that you can configure in the dashboard page that I just sent you

high pendant
#

I turned that on, but doesn't that send the invoice automatically?

hushed swan
#

depending on which setting you're talking about

#

in all cases no emails are sent in test-mode

high pendant
#

Okay. So again, I'd like to send emails after successful transactions, with receipt attached, and with no invoice attached. How can I do that?

hushed swan
#

you'd need to enable the successful payments emails in the link I sent you earlier

#

and add receipt_email to the PaymentIntent

#

actually you're using Billing so no need for that

high pendant
#

Thank you. So the "Email customers about… successful payments" setting is only about the receipt. Invoices will be sent if the "Email finalized invoices…" setting is "on" on the other screen. And I received the invoice, because I triggered email send manually, in test mode.

#

Is that correct?

hushed swan
#

yes that's correct

high pendant
#

clear

#

thank you again

#

that sounds easy then

#

Just one more question:

hushed swan
#

yes sure

high pendant
#

I already turned off payment history in the Customer Portal. Is there any way customer still access invoices?

hushed swan
#

I'm not sure

#

unless your subscription's collection_method is send_invoice it's unlikely that the customer would have access to that invoice

#

or if you send them manually yourself

high pendant
#

So, for individuals without tax number or business address, who pay immediately by card, Stripe provides only the receipt by default?

hushed swan
high pendant
#

Sorry, I just want to assemble the correct mental model in my head.

hushed swan
#

I was talking about this param (it's the same one for creation as well)

#

when this is set to charge_automatically the invoice is not send unless you have the Email finalized invoices… setting enabled

high pendant
#

I see, thank you

#

What is the best way of seeing this in action? Talking with customers?

#

I mean once we are in live mode.

hushed swan
#

I'm not sure to be honest

high pendant
#

No worries. I will probably just talk to the first customers to test this.

#

Thank you for the help!

hushed swan
#
high pendant
#

ok

#

I'm glad the solution is this simple. This saves me from implementing sending receipts programmatically.

#

Have a nice day!

hushed swan
#

let me know if you need any more help