#Xerxis - $X

1 messages · Page 1 of 1 (latest)

humble rune
#

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?

magic vale
#

Honestly don't have anything setup yet

#

First day diving into this

humble rune
magic vale
#

Yes, that's what I emant by without the use of Slim

humble rune
#

It shows charging users without making products or prices

#

What is Slim?

magic vale
#

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

humble rune
#

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

magic vale
#

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

humble rune
#

That is the guide you are looking at. You need a server to create a Checkout Session for the amount that you want

magic vale
#

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

humble rune
#

Good catch!

#

Let me know if you run in to any Stripe errors now that that is working

magic vale
#

Working is an ambitios word lol

magic vale
#

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?