#rizvan_webhooks

1 messages ¡ Page 1 of 1 (latest)

night cedarBOT
oblique ermineBOT
#

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.

night cedarBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1237310284125966357

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

hollow ledge
#

Sure, you can listen to checkout.session.completed event, which will occus when a customer completed a payment through payment link.

deep panther
#

we can listen to payment links created through API call too right?

#

For example I have created a payment link and stored it somewhere, then maybe after 3 days I am sending the link to the client

#

can we still get the payment status when this is made?

hollow ledge
#

When you customer open a payment link, stripe will automatically create a checkout session and direct your customer to the checkout page

#

and that's why I suggest you listening to the checkout.session.completed event,

#

Yes, you'll receive the event when your customer completes the checkout

deep panther
#

But for this I am not passing the customer details now how will I identify when customer has made the payment?

oblique ermineBOT
night cedarBOT
normal marsh
deep panther
#

but while creating a payment link using api I am not sending any client_reference_id

normal marsh
#

yes you need to specify it when sharing the payment link with the customer

deep panther
#

I am not creating a checkout session how can I specify customer details in the payment link api?

normal marsh
#

No you can't specify a customer on payment link

#

payment link is a link that can be shared and used with multiple customers

#

While Checkout Session is used by a single customer, you can pass customer Id when creating a Checkout Sesison but not for payment link

deep panther
#

I will specify my requirement please suggest me which will be the best solution

#

I need to send a payment link to a customer through mail or SMS, later when the customer clicks the link and completes the transaction I need to check the payment status

#

I just need to send the amount thats required and collect the amount.... then get the status of the payment

#

I dont need to create any product for this

balmy vortex
#

then I would say send the customer a link to a page on your site that creates a CheckoutSession for the amount and other details you want, and then redirects to the Checkoutsession URL.