#pierrala68

1 messages · Page 1 of 1 (latest)

winged elbowBOT
kindred wedge
#

I can't read this langauge.

#

Did the payment succeed?

maiden summit
#

no, the test of payment don't succeed

#

the test page is not found

kindred wedge
#

What's the checkout session ID?

maiden summit
#

the checkout session ID is "API key public" ?

kindred wedge
#

No

#

How do you integrate checkout? Are you using a 3rd-party plugin or you wrote code by yourself?

maiden summit
#

I wrote the code by myself

kindred wedge
#

OK, then you can find the checkout session ID in the response of checkout session creation request

maiden summit
#

I have the impression that I have not installed the system correctly because I have not received a response from my session creation request

#

do you have simple installation documentation and can you help me install it?

kindred wedge
#

No, there's no installation guide for Stripe. If you have challenge in coding, you can use payment linke, our no-code solution https://stripe.com/docs/payment-links to start accepting payments with stripe

Sell online without building a digital storefront.

maiden summit
#

I can code but installing Stripe is complex to understand. I will need help with the installation if you agree to make sure I am taking the right path

#

I have a website that needs to communicate with stripe to accept payments automatically.

kindred wedge
#

Got it, then I'd highly recommend you to use payment link

maiden summit
#

but for the moment we already have an integration started, I am trying to learn the integration into the site, there is really no doc for the complete installation in a site?

#

I already use the other system, I would just like to improve my site

kindred wedge
#

How did you integrate?

winged elbowBOT
maiden summit
median rampart
#

sounds good, what is your specific question?

maiden summit
#

I did part 1 and 2, but in part 2 I don't know where to put the file

for information, I used the PHP file

median rampart
#

where to put the file
it's a PHP file that you put on your server and call it create-checkout-session.php

#

also do you know what Composer is?

#

because you have to use that to install the dependencies

maiden summit
maiden summit
median rampart
#

not sure what you mean by 'where', you put it wherever you put the rest of your PHP scripts. And yes, the payment page calls it(you see in step 3 it uses fetch to make an Ajax/XHR request to that script)

maiden summit
#

I'll try again, I'll get back to you when I've done so

median rampart
#

sounds like you did not use Composer then, as I was mentioning.

#

the error is telling you that vendor/autoload.php does not exist, which is something that Composer creates when it runs.

maiden summit
#

However, we installed the composer correctly, we have lots of files that he added

median rampart
#

fair enough, but then why does it tell you that file vendor/autoload.php is not found?

So either you need to figure that part out, or just do the manual install described above

maiden summit
#

oh we found the solution, but we have the secret client which now appears on the page

median rampart
#

not sure what you mean, could you elaborate?

maiden summit
median rampart
#

yep that's perfect and what it's supposed to do

#

so now you continue with the rest of the guide

maiden summit
#

but this file that we open on the web, isn't it supposed to be the page with the design of the site?

median rampart
#

no, it's not. It's a backend script that the frontend page will call via Ajax/XHR.

#

the 'page with the design of the site' is checkout.html