@konplit-services/common 1.0.319 → 1.0.320
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/app.configs.d.ts +1 -0
- package/build/app.configs.js +4 -0
- package/package.json +1 -1
package/build/app.configs.d.ts
CHANGED
package/build/app.configs.js
CHANGED
|
@@ -522,6 +522,9 @@ class AppConfigs {
|
|
|
522
522
|
if (!this.env.VALUEPAY_EMAIL_NAME) {
|
|
523
523
|
throw new Error("VALUEPAY_NO_REPLY_EMAIL is required");
|
|
524
524
|
}
|
|
525
|
+
if (!this.env.CHECKOUT_URL) {
|
|
526
|
+
throw new Error("CHECKOUT_URL is required");
|
|
527
|
+
}
|
|
525
528
|
return {
|
|
526
529
|
visa_redirect_url: this.env.VALUEPAY_VISA_REDIRECT_URL,
|
|
527
530
|
visa_redirect_fail_url: this.env.VALUEPAY_VISA_FAIL_REDIRECT_URL,
|
|
@@ -533,6 +536,7 @@ class AppConfigs {
|
|
|
533
536
|
invoice_url: this.env.VALUEPAY_INVOICE_URL,
|
|
534
537
|
noReplyEmail: this.env.VALUEPAY_NO_REPLY_EMAIL,
|
|
535
538
|
emailName: this.env.VALUEPAY_EMAIL_NAME,
|
|
539
|
+
checkoutUrl: this.env.CHECKOUT_URL,
|
|
536
540
|
};
|
|
537
541
|
}
|
|
538
542
|
getOpayDetails() {
|