#Sashinatora
1 messages ยท Page 1 of 1 (latest)
Hello ๐
You can create post-payment invoices with Checkout and PaymentLinks both
https://stripe.com/docs/payment-links/post-payment#post-payment-invoices
However, I'm not sure if they support custom fields. The invoices are created automatically
Thanks for the quick response ๐คฉ
How can I verify whether I can add custom fields on each product?
You mean the invoices?
You can try it while creating the test mode payment link.
I see, makes sense.
Seems that it is possible with Checkout based on the docs: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation-invoice_data-custom_fields
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah you can specify the same on payment link creation too
https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-invoice_creation-invoice_data-custom_fields
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sweet, thanks a bunch ๐โโ๏ธ
But there is no way to completely customize the HTML template for the invoice, correct?
Yeah that's not something that we support today
Gotcha. And lastly, these custom fields are specified only when creating the payment link or the specific checkout session, correct?
Correct
Thanks a bunch for your expertise and help, have a great day
NP! ๐ Good luck