#ferdi_lpr
1 messages · Page 1 of 1 (latest)
Hey there, I suggest you take some time to read through our guides and examples. Are you trying to complete payment directly on your own page, or take advantage of a hoted option like Stripe Checkout?
See for example this integration here where you can flip between those two (for a PHP back end) and see the difference in what you need to build:
Custom on your own page: https://stripe.com/docs/payments/quickstart?lang=php&client=html&platform=web
Using Stripe Checkout: https://stripe.com/docs/checkout/quickstart?lang=php&client=html
thank you very much !
i'll ask you additional help if i don't understand something
sorry how i'm supposed to install the library on the server ?
I've never did this before and I saw that I need to put a command line but with my web host I can't do that
What do you mean?
You need to have access to your web server to build the secure back end part of this
If you don't have the ability to do that you may want to look at options like Payment Links: https://stripe.com/docs/payment-links
I don't know how to install a library on php actually
do I need to put the composer.json in the files directory ?
I'm not sure how to manage the server for the host you're using -- you might need to speak with your host or review the composer docs
Alternatively you can import the file manually, without composer:
and I put the file in the root ?
Put it whereever is appropriate for you, then require it from your server php file relative to that path
ok thx