#rizvan_webhooks
1 messages ¡ Page 1 of 1 (latest)
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.
- rizvan_api, 9 minutes ago, 12 messages
- rizvan_api, 3 days ago, 46 messages
- rizvan_api, 3 days ago, 39 messages
đ 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.
Sure, you can listen to checkout.session.completed event, which will occus when a customer completed a payment through payment link.
https://docs.stripe.com/payments/checkout/fulfill-orders you can refer to this doc to learn more about how to fulfill orders
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?
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
https://buy.stripe.com/test_8wMg1W2e5b6A2Gc5kr this link is created using the API
But for this I am not passing the customer details now how will I identify when customer has made the payment?
You can use a url parameter in order to track your customer Id:
https://docs.stripe.com/payment-links/url-parameters
client_reference_id
but while creating a payment link using api I am not sending any client_reference_id
yes you need to specify it when sharing the payment link with the customer
And if you want to let the payment link to always create a new customer, you can specify that when creating the payment link:
https://docs.stripe.com/api/payment_links/payment_links/create#create_payment_link-customer_creation
I am not creating a checkout session how can I specify customer details in the payment link api?
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
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
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.