Note
-
To test credit/debit cards, you need to use to use the test credentials provided by Mollie.
-
Go to Modules
> Modules-Center.
-
Select Mollie from the module list.
-
Select Edit.
-
Turn on the Test mode toggle.
-
Make a test purchase in your Gambio shop.
While making payment, a selection dialogue appears, enabling you to test various payment statuses.
-
Select a payment status and click Continue.
This takes you to a page that provides information about the payment's status. For example, if you selected Paid, the page confirms a successful payment.
-
Make the following link public:
http(s)://{your-domain}/shop.php?do=MollieWebhook. -
Whitelist Mollie's IP address range.
Download and install a tunneling app. We recommend using ngrok↗.
-
Run a command to overwrite the domain. For example:
./ngrok http --host-header=rewrite my-local-gambio-domain:443The app returns a public URL such as
https://123456789.ngrok.io. -
Add the public URL to the Mollie for Gambio configuration service (
Mollie\Gambio\Services\Business\ConfigurationService) by modifying itsgetDebugUrlmethod./** * Returns the debug url for your local environment * * @return string */ public function getDebugUrl() { return 'https://123456789.ngrok.io'; }