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.
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
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!
Please sign in to leave a comment.