payments->get($_GET["order_id"]); $status = $payment->status; /* * Optionally, update the database here, or wait for the webhook to arrive. */ } /* * Determine the url parts to these example files. */ $protocol = isset($_SERVER['HTTPS']) && \strcasecmp('off', $_SERVER['HTTPS']) !== 0 ? "https" : "http"; $hostname = $_SERVER['HTTP_HOST']; $path = \dirname($_SERVER['REQUEST_URI'] ?? $_SERVER['PHP_SELF']); echo "
Your payment status is '" . \htmlspecialchars($status) . "'.
"; echo "";
echo 'Create a payment
';
echo 'Create an iDEAL payment
';
echo 'List payments
';
echo "