#H Panseriya
1 messages · Page 1 of 1 (latest)
hi! there's not really a reliable way, the approach usually is that if the invoice is created by your own code, you add metadata to it in your code to indicate that, and the absence of that metadata means it was created some other way; for instance.
Is there any way to add the metadata value from stripe UI?
what do you call the 'stripe UI' exactly, which interface?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
there might be some way to add metadata there. Why do you ask?
I am getting the following error "Activate your account to email a test invoice to other than yourself."
Can you please let me know how to test with yourself account?
I usually just put my own email address in the Invoice
like I create the Customer object with the same email address I use for my Stripe account
Ok. Let me take a look
How to attach the price instead of product into the items while creating a new invoice?
Hey! Taking over for my colleague. Let me catch up.
When creating an InvoiceItem you need to set the price Id and not the productId:
https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-price