#zigo0292

1 messages · Page 1 of 1 (latest)

winged stumpBOT
candid heath
#

No, you can't retroactivelly create a new invoice and link it to an already paid PaymentIntent.

You should create the invoice first and then use the underlying PaymentIntent to accept the payment

distant gale
#

so if my goal is to just send receipt "feed" ( an invoice then ) after punctual payment .. my process wil be :

  1. create invoice ( but no send this to user ) and and in the same time, juste after :
  2. get the paymentIntentID returned
  3. process payment with this paymentIntent via cardElement

it's ok ?

thank you for your quick response

candid heath
winged stumpBOT
distant gale
#

Yes , i'm interested to send invoice for payment made ( and not a receipt ).
Doc is easy for paymentLink but i dont use this process.
Actually i'm just with paymentIntent + cardElement

candid heath
#

Right right, the doc was just for receipt example

#

But yes, the steps you outlined should work

distant gale
#

ok thanks a lot, i wll try that.
have a good day