#Xerxis - $X
1 messages · Page 1 of 1 (latest)
This sounds like something that you can do. What Stripe product are you using for your checkout form?
Is this a stripe hosted Checkout page or is this your own custom page?
Have you seen this doc yet? https://stripe.com/docs/payments/accept-a-payment
Yes, that's what I emant by without the use of Slim
Go to the link you jsut sent
Second portion of step 2 is showing settting up the Checkot Session using Slim as the framework
And then I'm trying to follow along with the youtube video that it says for getting started, but that one is already assuming you have slim configured
Ah, our samples use various frameworks but Stripe does not specifically require them
You can use any PHP based server to make these calls
Or a server that can make a call to our other libraries. I am assuming you are using PHP because Slim is what we use in that sample
So, correct me if I'm wrong: I was under the impression Stripe could be used almost like an iframe: I setup my checkout button as a link to a stripe hosted page that opens up as a little window or w/e to accept payment, and then it returns to the base page with the result
Is there documentation for that? I haven't been able to find alternates on your docs anywhere
That is the guide you are looking at. You need a server to create a Checkout Session for the amount that you want
We do have an actual iframe based solution but that also requires a server https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
So funny story: discovered where I was going wrong with Slim
for some reason composer was making an additional directory. So it was actualyl under \Slim\Slim\App instead of \Slim
Working is an ambitios word lol
So this may be a dumb question: when it's setting the form action to /create-checkout-session, is that an actual file I need to be creating and putting in the PHP code provided there, or does that PHP go at the top of my checkout page and it's referencing something built by stripe?