I'm trying to keep things as free as possible since I believe I need just a tiny bit of resources. Stripe seems to charge, although I couldn't tell if I'm to be charged once and only I do a sale. They ask for a bunch of business related questions and document I do not have.
I think I'm quite close to achieve what I need with
Pipedream but I'm missing something as I don't get any values (undefined) when trying out a test and lines of error I don't understand.
I've also opened an account in a free hosting service and uploaded my local composer and vendors for ParseHub's PHP library (msankhala->parsehub-php, nategood->httpful and monolog) but when I try stuff like:
//ParseHub API implementation
// Include the autoloader so we can dynamically include the rest of the classes.
require_once( dirname( __FILE__ ) . '/autoloader.php' );
$api_key = 'apyKey';
$parsehub = new parser\Parsehub($api_key);
$projectList = $parsehub->getProjectList();
echo $projectList;
I get errors when trying to instantiate the ParseHub class.
I believe it's got to do with composer's autoloader configuration that get's messed up when directly uploading as if some configuration gets broken upon upload.
I couldn't work around it by using an absolute namespace path to call the class or using a custom autoloader with the same approach.
I thought you meant to try this in your previous suggestion but I don't get how it should work:
I ran a Project and put this in the webhook field "myfreeHostURL:5000/parsehub_callback" and in my index.php file I had a var_dump($_POST); to see what I got but, I'm missing something here, I don't think I'm doing it right.