#k0uti
1 messages · Page 1 of 1 (latest)
Promotion code is not supported on Invoices. One way I can think of is to add metadata in the invoices, so that your system can differentiate the promotion that has been applied to the invoices: https://stripe.com/docs/api/invoices/create#create_invoice-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Another question I have is: Is there any nodejs helper/library to deal with converting the amounts without the decimals in the number for different currencies?
Not that I'm aware of
Thanks! Good suggestion about the metadata. Do you know if there's a way to do this from the Stripe Dashboard? We are in MVP and we haven't developed our own invoice creation interface yet.
Yup! It's possible to add the metadata in the Invoice page