#devangbhuva97-Payment
1 messages · Page 1 of 1 (latest)
this description not reflated in payment - https://stripe.com/docs/api/invoices/create#create_invoice-description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi, I am afraid there is no direct way to do this. But I think you can listen to the webhook event invoice.created, then find the PaymentIntent and try updating its description from there
by PaymentIntent Update API
Looks this is very long for us
Sorry for the inconvenience...
Thanks @shrewd garnet for suggesting alternative way
Instead of listening webhook, we can immediate after invoice creation. Right?
Ah yeah!
Sorry, that would work too!
hmm let me see
After creating an Invoice, and finalizing it (it will have Open status), you will have an Invoice with a PaymentIntent created inside
Yes.. i mean after finalizing
@shrewd garnet looks like is not working
getting error - No such payment_intent: 'pi_3KWx4cCScnf89tZo1G39sa9k'
Maybe Stripe account is different?
The account created the PI and the account trying to update it?
Oh.. my bad
Sorry for that