#rinaldohack-subscriptions

1 messages · Page 1 of 1 (latest)

buoyant whale
#

hi! there are definitely ways. What's the error you see and what guide are you using?

plush frigate
#

i was trying to follow this

#

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Slim\App::__construct(), 0 passed in /.../checkout.php on line 31 and at least 1 expected in /.../vendor/slim/slim/Slim/App.php:61 Stack trace: #0 /.../checkout.php(31): Slim\App->__construct() #1 {main} thrown in /.../vendor/slim/slim/Slim/App.php on line 61

#

I wonder what's slim doing here? I don't think it's used to be this hard before?

buoyant whale
#

you don't have to use Slim if you don't wish to or aren't familiar with it, it's just what we use in the samples

#

I never use it myself personally

plush frigate
#

okay where do I start now? have any good reads for it?

#

every samples that I read so far uses slim

buoyant whale
#

yeah, unfortunately. But anyway, if you were (as a PHP developer yourself) building this, you'd just use what you normally use. For example, are you using the Checkout version of that guide? If so you just need a simple script that calls the API and echo's back the Session