| @@ -17,4 +17,12 @@ | ||
| 17 | 17 | * toggle - so, like IP_API above, this is a build-time value, not something computed from |
| 18 | 18 | * plugin settings at runtime. |
| 19 | 19 | */ |
| 20 | 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'); | |