#jay492
1 messages · Page 1 of 1 (latest)
Hi, how can we help?
Hi
I am trying to embed the stripe subscription system to my website
I use two servers A and B, A is for storing my static files and php files. B is for stripe payment. For B, i use Nginx to do reverse proxy, and B is only used to deal when user creates a create-checkout-session
these are what i have but when i try to open https://mywebsitedomain/create-checkout-session , it returns not found(also, payment.html=checkout.html)
Hi, sorry we might not be able to help with server structure folder and files. Your code looks good by logic to trigger when submit the form but the issue seems to be how to even display the form in the first place
issue seems to be how to even display the form in the first place.what do you mean by this?
when i try to open https://mywebsitedomain/create-checkout-session , it returns not found(also, payment.html=checkout.html)
I mean you seem to haven't displayed the payment.html when you mentioned this
i can see it on th browser
Ah okie, so it error when you click into the button?
yep, when the user create a create-checkout-session
only for this part, i use a different server and reverse proxy to the server.js
Yeah so it can not reach that server? Sound like a weird setup but I understand you might have reason to do it
the server we store static files and php files, they don't provide nodejs so that's why i'm using different server to deal with it