#giriraj_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/1276121433558487073
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! https://stripe.com/docs/receipts should help.
I used this Stripe https://docs.stripe.com/receipts?payment-ui=checkout, but after a successful transaction with $0, I'm not receiving an invoice in live mode
i mean i m not getting any email.
well receipts are mainly for successful payments but you mentioned $0. Do you have the ID of the CheckoutSession involved cs_test_xxx so I can look?
yes, let me share here
cs_live_a1LhPTi6WlGgLlDlGsJS1zl3iPL9fiyGgs8OTjCh3JzTt3nFuJxMzcOYpN
this seems normal to me, it's a trial Subscription so we don't send any receipt and we don't send the Invoice since there's no payment required and it's a charge_automatically Subscription
Okay, so you mean that when the payment is greater than $0, the invoice will be sent automatically?
Or can you just let me know how to send an email when a subscription is successful?
using below
i mean we are trying to subscribe the plan using above script
if there is a payment, we'll send a receipt
if you want an email just for "you have signed up for a subscription with Giriraj's business" unfortunately that's not something we do automatically, you'd have to build your own email-sending for that based on the webhook you receive from Stripe.
Ok let me try. If I have any question will join again
Hello
We are using default stripe pricing table feature. Now i want to update some label and button text so is it possible like above screenshot ?
i m use this script
I don't really know what you're asking me?
yes
This isn't possible, no
ok
I've implemented the two screenshots mentioned above in my Flutter app. However, when I purchase the plan using the second screen, the payment is successful with $0, but I'm not receiving any invoice email.
We don't send invoice/receipt emails in test mode: https://docs.stripe.com/receipts#:~:text=RECEIPTS IN TEST MODE
Forget test mode—if I'm in live mode, do I need to set it manually using the API?
just for confirmation i m asking.
Need to set what manually?
i mean using stripe api
while call the subscription create or update the webhook event
I honestly have no idea what you're asking me. You were asking about invoice emails – what does that have to do with a webhook?
i m taking about invoice emails
Then yes, you will receive invoice/payment receipt emails automatically in live mode assuming you have the setting on. This is all explained on the link I sent: https://docs.stripe.com/receipts?payment-ui=checkout#automatically-send-receipts
But we don't send zero-amount invoices at all
Okay, let's wait for one day. If the transaction is successful tomorrow, I will check whether the email is received or not.
this setting is alredy enabled
Are these test payments?
You shouldn't be testing in live mode
I'm not trying it directly; I have purchased the plan (subscription).
I just need to check if the email is received after a successful transaction.
Yes, but I imagine you'll be refunding all these 'test' payments which is why testing this way is not recommended
It will be assuming you have the setting enabled
In any case, let me know if you've any other questions!
yes, ok no problem