#slimhakz-checkout

1 messages · Page 1 of 1 (latest)

finite glacierBOT
gritty spear
#

Yep, that would be sufficient for that usecase. Are you running in to any questions impliment this?

vapid mist
#

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

gritty spear
vapid mist
#

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

#

👀

gritty spear
#

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

vapid mist
#

What is the most sensible way to implement my requirement

#

Payment link or stripe hosted checkout?

gritty spear
#

Either can work for your scenario. I would reccommend reading up on both to see which one matches your situation better

vapid mist
#

How long will either take to implement?

gritty spear
#

That depends on your developer experience and resources. They can both be fairly quick, especially Payment Links

vapid mist
#

pretty good with PHP

#

🙂

gritty spear
#

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

vapid mist
#

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.

gritty spear
#

Where are you looking to customize it? In checkout or on your success page?

vapid mist
#

Preferably both.

#

Personally it makes sense to have a customised checkout and success page

gritty spear
urban sapphire
#

slimhakz-checkout

gritty spear
#

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