#ThisIsJustin
1 messages · Page 1 of 1 (latest)
Taking a look now
Not that I'm aware of. You would need to build a custom payment form to be able to do something like that
That's what I was afraid of thanks!
Do you know if there is a preferred method to sending some sort of unique user ID to the payment link and getting it back after payment confirmation?
You could use metadata for that I would think, no?
https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
How do I get access to the checkout sessions object created after the payment is successful? Right now I am dealing with payment events with a webhook. Can I get that metadata back in the webhook?
You'll want to listen for checkout.session.completed, as the payload for that Event will be a Checkout Session object, which would contain the metadata you set: https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Awsome! thank you very much. Stripe support is next level.