#adam-shoaib-k_api

1 messages ยท Page 1 of 1 (latest)

devout jettyBOT
#

๐Ÿ‘‹ 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.

modest rockBOT
scarlet hare
#

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.

empty yarrow
#

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.

scarlet hare
#

Are you using a collection_method of send_invoice when creating the Subscriptions?

empty yarrow
#

shouldnt it be specified in create session API ?

#

We are not using create subscription, we are using Create a Session API,

devout jettyBOT
scarlet hare
#

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?

empty yarrow
#

yes correct, user pays $x and on success, i want them to receive the invoice

dusk night
#

Hi ๐Ÿ‘‹

I"m stepping in as my colleague needs to go.

empty yarrow
#

sure.

  1. User clicks on buy now.
  2. We take user to stripe checkout session.
  3. User pays the amount.
  4. on success I want to send them invoice via email
dusk night
#

Thanks for the clear breakdown of steps, it really helps

empty yarrow
#

for step 4 to happen automatially should i enable anything in the dashboard ? Or stripe is taking care of it internally ?

dusk night
#

Step 4 can be automated based on your Account settings

#

Specifically the third bullet point

With receipts after invoices are paid.

empty yarrow
dusk night
#

Yes that is the settings page where you can configure these emails

empty yarrow
#

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

dusk night
#

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.

modest rockBOT
empty yarrow
#

I just brought a subscription in live mode but didnt receive any email invoice

#

invoice_creation should i set this while creating checkout session

dusk night
#

Did you create a Subscription? Can you share the Subscription ID?

empty yarrow
#

I actually received it now, I think there was some delay, it was not immediate

dusk night
#

Okay, that is to be expected