Integrate Stripe checkout with

I have completed the tricky part of customer payment with Stripe integration of checkout completed.

I know Stripe is considered the best payment processor on the market (and I have yet to find anything easier to use myself) but I always struggle with their docs and find there is a lot of figuring out to do.

The crux was passing crucial variables to Stripe from the frontend using JavaScript via stripe.js (this is required by Stripe, I assume for security) while my website forms are processed in the backend using PHP (for my own site's validation and security).

I always find using multiple languages for a single task tricky and try to avoid it as it can get messy but I got there in the end.
Ryan Glass Author

I think this just came out - it may be what you're after for serverless payments: https://stripe.com/en-gb/payments/payment-links

0 Likes
Helen

Oh cool, I’ll check it out. Thanks!

0 Likes
Ryan Glass Author

Luckily pain memory is short!

0 Likes
Helen

I thought I was the only one that feel like that about their docs. I was looking over them this week when I realized they didn't offer severless solution directly. I google a few blog posts on hacking it, but I haven't read them yet.

0 Likes
Helen

πŸ˜‚ I'm not laughing at you. I'm laughing with you thru the pain. πŸ˜‚

0 Likes
Ryan Glass Author

Definitely feel the same here - I currently have about 5 tabs open with different pages of their docs just to work out how to use a discount coupon!

0 Likes

Please sign in to leave a comment.