#adam-shoaib-k_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1219671024014987284
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ we don't know too much about email funcitonality in this forum, but I believe most testmode email functionality is intentionally suppressed. You might be able to get those automatic emails to trigger if you use a Customer with an email address that exactly matches the email address of the owner of the Stripe Account, but I'm not sure which emails exactly that works for.
I just enabled live mode, Testing my first subscription now. SO just wanted to know if invoices are send by default to customer email id, or do we need to enable it somewhere to trigger the email invoice.
Are you using a collection_method of send_invoice when creating the Subscriptions?
shouldnt it be specified in create session API ?
We are not using create subscription, we are using Create a Session API,
Oh, gotcha. I believe those set up the Subscriptions to automatically charge the default payment method rather than sending an email to the Customer to have them manually pay the Invoice.
So are you asking about emails being sent when an Invoice is paid?
yes correct, user pays $x and on success, i want them to receive the invoice
Hi ๐
I"m stepping in as my colleague needs to go.
sure.
- User clicks on buy now.
- We take user to stripe checkout session.
- User pays the amount.
- on success I want to send them invoice via email
Thanks for the clear breakdown of steps, it really helps
for step 4 to happen automatially should i enable anything in the dashboard ? Or stripe is taking care of it internally ?
Stripe allows you to configure multiple automated emails related to Invoices and Subscriptions and you can review them here: https://docs.stripe.com/invoicing/send-email#customer-emails
Step 4 can be automated based on your Account settings
Specifically the third bullet point
With receipts after invoices are paid.
should we do it here : https://dashboard.stripe.com/settings/billing/automatic?
Yes that is the settings page where you can configure these emails
Got it. For invoice I just see option under "Manage invoices sent to customers", which is already enabled.
So i guess by deafult sending invoice is enabled
Correct. As we explain in the doc I linked, we will send the customer a PDF of the invoice they just paid as part of the email receipt.
I just brought a subscription in live mode but didnt receive any email invoice
invoice_creation should i set this while creating checkout session
Did you create a Subscription? Can you share the Subscription ID?
I actually received it now, I think there was some delay, it was not immediate
Okay, that is to be expected