#erikou_api

1 messages ¡ Page 1 of 1 (latest)

white skyBOT
tacit oasisBOT
#

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.

white skyBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1257651447768682496

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

marsh lintel
#

What is it you're trying to test exactly?

finite magnet
#

Hello i just want to find a way to know status of payment_link

marsh lintel
#

Well Payment Links are reusable, so their status does not reflect the status of a particular payment

finite magnet
#

in the process I want to notify and give a payment link to my customer, and then check if the payment is still pending fulfilled or cancelled

finite magnet
marsh lintel
#

Well each time the Payment Link is used it generates a Checkout Session in the background which accurately reflects the status of the payment

finite magnet
#

okay so how can i retrieve this checkout session? does payment link response give me a checkout session id ?

marsh lintel
#

What is it you're trying to do exactly? Why do you need the payment status?

finite magnet
#

just to inform if the payment has been fulfilled

marsh lintel
finite magnet
#

yeah i would love to use webhook but this is the issue since it is a desktop software

marsh lintel
#

It's really the only recommended way. There's no easy way to know which payment belongs to which customer directly via the API

finite magnet
#

but can i use invoice ? i saw when i make the process manually on the website i can get a link for the payment

#

but i don't know how to get this link with API

#

and then i just have to retrieve the invoice so i can get a status maybe

marsh lintel
finite magnet
#

yeah i tried making an invoice
then i also created an invoice_items that i associated with the invoice but still don't know how to get a link for payment

marsh lintel
finite magnet
#

yeah mb

#

i need to try it

#

thank you for your patience

#

and thank you for helping me