#TheEmperor
1 messages · Page 1 of 1 (latest)
on the success page after checkout,
no session data was retrieved, is this normal
the get-checkout-session is looking for config.ini
Sounds like you are attempting to retrieve the Session after the redirect and your server is running into an issue and returning a 500
<b>Warning</b>: parse_ini_file(C:\wamp\www\checkout\server\config.ini): failed to open stream: No such file or directory in <b>C:\wamp\www\checkout\server\public\shared.php</b> on line <b>7</b><br />
{"error":"Internal server error."}
config.ini doesn't exist
the sample code provided in github is not complete, it's missing config.ini which is not mentioned anywhere
Which sample are you following exactly?
I used CLI to clone the repo.
check out page has no sessionJson, is that normal?
Can I perhaps hire a dev to help me here, to do a screenshare and go through it in detail
No you can't hire a dev here, but you can find one via our Partner directory: https://stripe.com/partners/directory
I can't afford to hire a company
so is this supposed to happen?
That all depends on your code
I didn't change anything...
If you just cloned the sample and ran it, then it is possible there is a bug in the sample.
I'd need to reproduce it and look at it, but I can't do that this second.
You as a developer are supposed to be able to debug any code that you are running
I have, and i showed you the details
<br />
<b>Warning</b>: parse_ini_file(C:\wamp\www\checkout\server\config.ini): failed to open stream: No such file or directory in <b>C:\wamp\www\checkout\server\public\shared.php</b> on line <b>7</b><br />
{"error":"Internal server error."}
since the sample code is looking for config.ini, it's not there, so my question is, what does config.ini look like?
The readme doesn't mention such a file
am I supposed to make that file?
As far as I know you're not supposed to make that file
Hmmm... It may just be that this sample is broken