@konplit-services/common 1.0.284 → 1.0.285
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
|
@@ -726,6 +726,9 @@ class AppConfigs {
|
|
|
726
726
|
if (!this.env.INTERSWITCH_DEFAULT_EXPONENT) {
|
|
727
727
|
throw new Error("INTERSWITCH_DEFAULT_EXPONENT is required");
|
|
728
728
|
}
|
|
729
|
+
if (!this.env.INTERSWITCH_WEBHOOK_SECRETKEY) {
|
|
730
|
+
throw new Error("INTERSWITCH_WEBHOOK_SECRETKEY is required");
|
|
731
|
+
}
|
|
729
732
|
return {
|
|
730
733
|
merchant_id: this.env.INTERSWITCH_MERCHANT_ID,
|
|
731
734
|
pay_item_id: this.env.INTERSWITCH_PAY_ITEM_ID,
|
|
@@ -739,6 +742,7 @@ class AppConfigs {
|
|
|
739
742
|
visa_callback_url: this.env.INTERSWITCH_VISA_CALLBACK_URL,
|
|
740
743
|
recurrent_client_id: this.env.INTERSWITCH_RECURRENT_CLIENT_ID,
|
|
741
744
|
recurrent_secret_key: this.env.INTERSWITCH_RECURRENT_SECRET_KEY,
|
|
745
|
+
webhookSecretKey: this.env.INTERSWITCH_WEBHOOK_SECRETKEY,
|
|
742
746
|
};
|
|
743
747
|
}
|
|
744
748
|
// Interswitch
|