File: D:/HostingSpaces/ZelfVerkopen/zelfverkopen.nl/config/icepay.php
<?php
//Het portal van de ICEPAY testomgeving staat sinds jaar en dag al ingesteld op deze url: https://testpbm.icepay.com
//De test-API van ICEPAY is bereikbaar via: https://testpbmapi.icepay.com en dus niet via de url die zij aangeven…althans…die is echt nieuw voor mij.
//Het portal van de ICEPAY productieomgeving is deze: https://paybymail.icepay.com
//De productie-API van ICEPAY is bereikbaar via: https://pbmapi.icepay.com
return [
//Specify urls without protocol.
'paybymail' => [
'environment_settings' => [
'test' => [
'payment_url' => 'testpbmapi.icepay.com/payment/', //Portal: https://testpbm.icepay.com
],
'production' => [
'payment_url' => 'api.paybylink.com/payment/', //Portal: https://paybymail.icepay.com
],
],
'api_username' => env('ICEPAY_PAYBYMAIL_API_USERNAME'),
'api_password' => env('ICEPAY_PAYBYMAIL_API_PASSWORD'),
'api_entity_key' => env('ICEPAY_PAYBYMAIL_API_ENTITY_KEY'),
],
'icepay' => [
'successUrl' => 'payment-success', //Called by api
// 'successUrlTo' => 'payment-success', //Redirected to from successUrl after validation
'errorUrl' => 'payment-error', //Called by api
// 'errorUrlTo' => 'payment-error', //Redirected to from errorUrl after validation
'postbackUrl' => 'postback-icepay', //Called by api
'merchant_id' => env('ICEPAY_MERCHANT_ID'),
'secret_code' => env('ICEPAY_SECRET_CODE'),
]
];