#Valma

1 messages ยท Page 1 of 1 (latest)

gloomy eagleBOT
normal steppe
#

Hi ๐Ÿ‘‹

Can you describe what the issue is?

queen valve
#

So I want to test my integration, the problem is that my site code is on localhost:5500 and my php server is on localhost:8080. Is there a way of solving this issue ?

normal steppe
#

What do you mean "site code"?

queen valve
#

My html, css file

#

Where the checkout button will be

#

Like the website files

normal steppe
#

That isn't something that is controlled by Stripe. Why don't you just change your code?

#

I'm looking at your code but I'm not seeing what you are talking about here. Where do you see the "site code"?

queen valve
#

The site code is not in it

#

Its very big

#

I'm basically saying if there's a way to use Stripe Checkout with a separate client and server

#

Because normally the client and server are in the same url

normal steppe
#

You mean like a single page app? I have a test integration that uses a REST API server with a separate Vue.js client and Checkout works just fine

queen valve
#

No like a full website, and when you to to the checkout page and click on the Pay Now Button, I want to create a checkout session with the items on the cart and send the user to a Stripe Checkout Page

#

For that I'm using PHP for the Server Side

normal steppe
#

Okay

#

I still am not seeing any problem

queen valve
#

The folder that I send you, with the php, js, json code and stuff

#

Well my website folder is not in the same folder so when I start php on port 8080 for exemple it doesn't show my website because my website might be on 5500 for example

#

I'm sorry if that's kind of hard to understand

#

Is there maybe a tutorial on Stripe on how to set up Checkout Session in PHP

normal steppe
queen valve
#

Ok that'll do for now

#

Thanks

normal steppe
#

Happy to help ๐Ÿ™‚