#Arturo Posada-payment-link-events

1 messages · Page 1 of 1 (latest)

silent canopy
#

Hi there 👋 can you elaborate a bit on what your question is?

light junco
#

I have a payment link configured that I am going to embed in my website, after payment I need to continue with my purchase closing process, the question is: How can I know that the customer has already paid?

silent canopy
#

Gotcha, and apologies for the delay. Payment links are essentially no-code approaches to using checkout sessions, so they'll still send checkout.session.completed events when a customer completes the purchase.

light junco
#

Thank you very much Toby, I understand, so the way to embed the link in my web page is through a paid session?
something like this?

var domain = "";
var options = new SessionCreateOptions()
var service = new SessionService();
Session session = service.Create(options);

full marsh
#

@light junco sorry I don't understand what that could mean. PaymentLinks create the Session for you and the customer pays on Checkout, you need to "create" anything