#SnowRunescape
1 messages · Page 1 of 1 (latest)
Is the payment link one time payment or would you like to have a payment link that can be re-used?
one time, uinique
Yes, this is possible via Checkout Session API. You may refer to the doc here: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
yeh, this part i implemented
I read that it's possible, but only if I implement the checkout inside my website
I have a saas website, I have other payment methods built in for my customers, and I'm implementing stripe
If you have implemented, what's the issue you're facing? Checkout Session will generate a payment URL to complete the payment
I would like to define the url that will receive the return of the IPN
From what I've seen, the only way is to configure the URL in the stripe panel
What is this IPN URL for? What is your expected behaviour? Do you mean you would like to get customer redirected to this IPN URL after completing the payment?
would be the webhook, the notification that a payment was approved, or was canceled/reversed
Why would you set the Webhook endpoint on the Checkout Session? Webhook endpoint is another URL set your server to consume the events for payment outcome and it shouldn't be needed to set on the Checkout Session creation request.
for my clients, I don't need to configure the part, it would be one less step in terms of usability
all the other payment methods that you have implemented have how to configure the webhook link
Webhook endpoint is for your system to get payment outcome, not for customer who makes the payment
Does the client mean the company that you help them to integrate Stripe?
I have a system that other people use, and I set up the means of payment that I would like to receive for sales
yes, in this case there are several companies
it is a single system, and there may be several companies using the same system
software as a service
I see! You may create Webhook endpoint via API: https://stripe.com/docs/api/webhook_endpoints/create instead of using Dashboard. You only need to create Webhook endpoint once for each client
the url they would have set up is something like example.com/ipn?store=[UUID-OF-STORE-HERE]&gateway=stripe
ok
maybe this works
I'll try
Yup! Webhook creation API will create the Webhook endpoint configuration with Stripe, so that Stripe will send the events to this endpoint