Hi
I am trying to incorporate Stripe into our website, so that we can process payments without the user leaving the site, or even leaving to a custom build site. So they stay put!!
https://stripe.com/docs/checkout/tutorial
This is what I have been guided toward, but I don't understand how to get the contents of a Cart passed through it.
I'm still not 100% familiar with Sessions, so when you add something to cart, it puts each ID of the product into a session, so that each ID is shown on the page, extracted from the session to show what's in their cart.
I need Stripe to take the payment for the calculated amount, but also postage, and I'm guessing if I am to do this all inhouse, we need to be able to calculate postage as well. Then add that into the price.
Then how do you make the invoice go out from Stripe, showing all the items bought (like you can with PayPal).
Any ideas?
Anyone familiar with Stripe Checkout? Need help with cart
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Anyone familiar with Stripe Checkout? Need help with cart
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Anyone familiar with Stripe Checkout? Need help with car
Did you look at their PHP integration? https://stripe.com/docs/checkout/php
Re: Anyone familiar with Stripe Checkout? Need help with car
Also checkout the sample payment form on GitHub: https://github.com/myg0v/Simple-Bootstr ... yment-Form