#jignesh_13529

1 messages · Page 1 of 1 (latest)

marsh cairnBOT
#

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.

snow mason
#

👋 happy to help

tranquil halo
#

Hello

#

i am using this payment mode

snow mason
#

ok

tranquil halo
#

i want to create invoice and send invoice to my customer and me via email or link after payment done

snow mason
#

second thing, I see you're listening to the payment_intent.succeeded event

#

instead you should listen to checkout.session.completed

#

once you receive that event

tranquil halo
#

Ok

snow mason
tranquil halo
snow mason
#

did you check the link I sent you?

tranquil halo
#

yes

snow mason
#

well in that link you can see that the invoice_creation parameter is an object and not a boolean

#

and you need to pass in enabled: true

tranquil halo
#

ok

snow mason
#
 'enabled' => true
]```
tranquil halo
#

ok

#

i can also download invoice ?

snow mason
#

well you would to implement the download from your end with the URL

tranquil halo
#

is that login required to open invoice pdf url?

snow mason
#

no

tranquil halo
#

Ok thanks