#amplifier9120
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Hi
from the checkout.session.completed event you can look at the payment_link field https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_link
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This is the payment link I get when I generate it :
https://buy.stripe.com/test_8wMg275XXfxOh0YeUV
this is what I get in the webhook event :
"payment_intent": "pi_1NWE7XD8kcngIHJ9v7vZPwVT",
"payment_link": "plink_1NVUbkD8kcngIHJ9KrJmyQAO",
the value in "payment_link" does not match with the value in the payment link I generated.
Are you reference to payment_link_id that I get when I generate the payment_link ?