| 1 |
<?php |
| 2 |
/** |
| 3 |
* The base configuration for payplug payment gateways |
| 4 |
* |
| 5 |
* This file contains the following configurations: |
| 6 |
* * required CDN path |
| 7 |
*/ |
| 8 |
|
| 9 |
/** |
| 10 |
* CDN path to integrated-payment lib |
| 11 |
*/ |
| 12 |
define('IP_API', 'https://cdn.payplug.com/js/integrated-payment/v1@1/index.js'); |
| 13 |
|
| 14 |
/** |
| 15 |
* Integrated Payment SDK domain (card-tokenization endpoint). Which one to use depends on |
| 16 |
* whether the connected merchant account is QA or production - not on the Test/Live mode |
| 17 |
* toggle - so, like IP_API above, this is a build-time value, not something computed from |
| 18 |
* plugin settings at runtime. |
| 19 |
*/ |
| 20 |
define('SECURE_DOMAIN', 'https://secure.payplug.com'); |
| 21 |
|
| 22 |
/** |
| 23 |
* URL of the official Oney widget loader script (assets.oney.io in production, |
| 24 |
* assets-uat.oney.io in staging). Depends on whether the connected merchant account is QA |
| 25 |
* or production - not on the Test/Live mode toggle - so, like SECURE_DOMAIN above, this is a |
| 26 |
* build-time value, not something computed from plugin settings at runtime. |
| 27 |
*/ |
| 28 |
define('ONEY_LOADER_URL', 'https://assets.oney.io/build/loader.min.js'); |
| 29 |
|