#paidahumanidade_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/1506663522900119572
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! I see you're using embedded checkout in subscription mode from the request ID you shared. To help be understand your questions...
- Do you want to add custom fields to the checkout form or invoice?
- How are you sending these confirmation emails? Did you enable "Successful payments" here? https://dashboard.stripe.com/settings/emails
- Have you tried customizing the email branding here? https://dashboard.stripe.com/settings/branding
- Are you saying you want the resulting Subscriptions to renew on the 30th of each month?
thnaks for answer.
- I need the custom fields that there are in the form , befores the checkout , inside the invoice. Like NIF , phone number, etc
- im not sure, pagamento > pagamento concluidos ? or support email? NOT SURE
- the branding is customized, but i need to add custome text inside the email that the user receive with the invoice.
- The last one, YES.
Sorry for the delay as I juggle a few other threads that came in! I'll get back to you shortly.
thank you!
You can set up to 3 custom_fields on a Checkout Session: https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-custom_fields
And up to 4 custom_fields on an Invoice: https://docs.stripe.com/api/invoices/update#update_invoice-custom_fields
If you want the data collected from the Checkout Session on the Invoice, you can listen for checkout.session.completed or invoice.created webhook events and update it accordingly.
You can also set invoice_settings.custom_fields on a Customer if you want all future invoices to have the same values: https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-custom_fields
For customizing the content of email receipts, our docs explain what's possible here: https://docs.stripe.com/payments/advanced/receipts?payment-ui=embedded-components#customizing-receipts-embedded-components
And finally, for specific subscription renewal dates, you can follow our guide that describes how to use billing_cycle_anchor with or without prorations: https://docs.stripe.com/billing/subscriptions/billing-cycle
hello! fyi I'm taking over for jazz, feel free to let me know if there are any more questions ๐
Hi there Solanum! I need to clarify a few things! After a donation I need to make sure that the user gets an email with custom text and invoice attached. Can i do it throught Stripe?
this page goes into details on how you can send invoices and receipts automatically:
https://docs.stripe.com/payments/checkout/receipts#customizing-receipts
in test mode do i get receipts?
not by default, but IIRC you can trigger them via the dashboard manually
this is a subscription, so I really dont want to effectivelly make a regular payment. i just want to make sure users get their email