19 lines
471 B
PHP
19 lines
471 B
PHP
<?php
|
|
/*
|
|
* Make sure to disable the display of errors in production code!
|
|
*/
|
|
ini_set('display_errors', '1');
|
|
ini_set('display_startup_errors', '1');
|
|
error_reporting(E_ALL);
|
|
|
|
// Include Mollie functions
|
|
require_once __DIR__ . "/lib/mollie/vendor/autoload.php";
|
|
|
|
/*
|
|
* Initialize the Mollie API library with your API key.
|
|
*
|
|
* See: https://www.mollie.com/dashboard/developers/api-keys
|
|
*/
|
|
$mollie = new \Mollie\Api\MollieApiClient();
|
|
$mollie->setApiKey(mollie_api_key);
|