#hitarth_97327
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- hitarth_97327, 3 days ago, 15 messages
- hitarth_97327, 3 days ago, 8 messages
hi there!
I followed this steps
https://stripe.com/docs/api/invoices/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
what are you trying to udpate exactly?
if the invoice is finalized, you can no longer update it
you can only update information about an invoice if it's in Draft
here is my code
customer = await stripe.customers.update(updatedCustomer,{
email: customerCreateOptionsMerged.email,
})
// }
const paymentIntent = await stripe.paymentIntents.update(updatedInvoice,{
receipt_email: "test@gmail.com",
metadata: metadata
})
can you give me more context? for example:
- the PaymentIntent was generated by an Invoice?
- does your code works or returns an error?
pi_3OZBUjFpbAyYhOzg1j60pfyX
no not getting any single error
you only answered half my questions, and haven't told me exactly what is the issue
I want to update the email
here's the request to update the PaymentIntent email, which worked: https://dashboard.stripe.com/test/logs/req_g6TnF0XzbtoJSx
so what's the issue? the email is updated.
No I sent you screen grab I want to update for the customer please check the screen grab
where is this screenshot from exactly?
if you retrieve the PaymentIntent pi_3OZBUjFpbAyYhOzg1j60pfyX with the API, you will see the new email set
I am checking in the payments page in which there is a list which shows all payments list. In that list I want to update the column for customer email.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.