#slimhakz-checkout
1 messages · Page 1 of 1 (latest)
Yep, that would be sufficient for that usecase. Are you running in to any questions impliment this?
Sorry didn’t understand the last part of your question 😀
I was hoping to use payment links but I don’t think that would work
Ah, you can use URL parameters to track your payment link payments https://stripe.com/docs/payment-links/url-parameters
Hmm
I’m doing this for a client of mine
They have a php booking system
For training courses
The customer is emailed a booking confirmajton with booking ref but then they need to pay for the booking
So when the customer gets the email they’ll click the link and make payment but then the payment confirmation page needs to be back on the php booking system so that it updates the booking ref with payment info
👀
We have this doc with info on fulfilling payments https://stripe.com/docs/payment-links/post-payment
I think you would want to listen for the checkout.session.completed event on your server. When you get that you can fill out booking info in your DB
What is the most sensible way to implement my requirement
Payment link or stripe hosted checkout?
Either can work for your scenario. I would reccommend reading up on both to see which one matches your situation better
How long will either take to implement?
That depends on your developer experience and resources. They can both be fairly quick, especially Payment Links
Awesome! Both of these solutions may be fairly straightforward to you then. We are always happy to help with specific questions on things that you run in to while implementing
Ah are you saying that with payment links that we can pass any variable using UTM
When the payment completes it will pass this querystring utm_source back to my "payment success page"
That code work very well... but does not allow us to customise any logos or styling.
Where are you looking to customize it? In checkout or on your success page?
Preferably both.
Personally it makes sense to have a customised checkout and success page
We have this doc on Checkout branding https://stripe.com/docs/payments/checkout/customization#branding
slimhakz-checkout
For your success page, you would want to have your server check the URL parameters that you provided and render the page differently based on that