subscription-use-cases icon indicating copy to clipboard operation
subscription-use-cases copied to clipboard

Php solution doesn't work

Open benjaminbusselet opened this issue 3 years ago • 2 comments

When I do your step-by-step tutorial to set up a subscription with PHP as a server. I only have error messages that appear. I used the method with the CLI, it doesn't work. Same thing by doing it manually. I put a screenshot so that you can see the error messages.

Can you help me because my project needs this solution?

Regards, Capture d’écran 2021-12-05 à 12 04 29

benjaminbusselet avatar Dec 05 '21 11:12 benjaminbusselet

Could you tell me your environment information?

PHP version: Web Server type: Apache / Nginx / other

Thanks!

hideokamoto-stripe avatar Jan 06 '22 07:01 hideokamoto-stripe

I created pull request #653 to fix this issue. The sample was written with slim v3 and phpdotenv v3, but the auto updater bot upgraded the project to their latest versions in the repo, which introduced breaking changes. You can change 2 lines in your composer.json file

composer.json

"slim/slim": ">=3.12 <4.0",
"vlucas/phpdotenv": ">=3.4 <4.0"

bensontrent avatar Dec 30 '22 01:12 bensontrent