geer-builder 1.2.677 → 1.2.679
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/GCheckout.vue
CHANGED
|
@@ -649,15 +649,19 @@ export default {
|
|
|
649
649
|
this.loading_done = true;
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
|
|
652
|
+
setTimeout(() =>
|
|
653
653
|
{
|
|
654
|
-
this.
|
|
655
|
-
|
|
654
|
+
if(this.public_settings.hasOwnProperty('dragonpay_details') && this.public_settings.dragonpay_details.show_active_payment)
|
|
655
|
+
{
|
|
656
|
+
this.getPaymentChannel();
|
|
657
|
+
}
|
|
656
658
|
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
659
|
+
if (this.public_settings.hasOwnProperty('checkout_fix') && this.public_settings.checkout_fix)
|
|
660
|
+
{
|
|
661
|
+
this.checkout_fix = true;
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
100);
|
|
661
665
|
},
|
|
662
666
|
computed:
|
|
663
667
|
{
|
|
@@ -158,8 +158,32 @@ export default {
|
|
|
158
158
|
}
|
|
159
159
|
else if(this.sale.payment_method.payment_method_id == "dragon_pay")
|
|
160
160
|
{
|
|
161
|
+
// <input type="hidden" name="merchantid" :value="merchant_id">
|
|
162
|
+
// <input type="hidden" name="txnid" :value="txnid">
|
|
163
|
+
// <input type="hidden" name="amount" :value="amount">
|
|
164
|
+
// <input type="hidden" name="ccy" :value="ccy">
|
|
165
|
+
// <input type="hidden" name="description" :value="description">
|
|
166
|
+
// <input type="hidden" name="email" :value="email">
|
|
167
|
+
// <input type="hidden" name="digest" :value="digest_string.toString('hex')">
|
|
168
|
+
// <input v-if="public_settings.dragonpay_details.show_active_payment" type="hidden" name="procid" :value="proc_id.procId">
|
|
169
|
+
// <input v-if="!public_settings.dragonpay_details.show_active_payment && public_settings.dragonpay_details.mode != 'show_all'" type="hidden" name="mode" :value="public_settings.dragonpay_details.mode ? public_settings.dragonpay_details.mode : proc_id">
|
|
170
|
+
// <!-- <input type="hidden" name="mode" :value="mode"> -->
|
|
171
|
+
// <!-- <input type="hidden" name="ResponseURL" :value="ipay88_response_url"> -->
|
|
172
|
+
// <input type="hidden" name="param1" :value="dragonpay_backend">
|
|
173
|
+
|
|
161
174
|
sessionStorage.setItem('pending_checkout', JSON.stringify({status:'pending',amount: "15.00", sale_id:this.sale_id, mode:"dragonpay"}));
|
|
162
|
-
|
|
175
|
+
const { data: url } = await this.$_fbCall('memberPayDragonPay',
|
|
176
|
+
{
|
|
177
|
+
amount: this.amount,
|
|
178
|
+
description: this.description,
|
|
179
|
+
email: this.email,
|
|
180
|
+
proc_id: this.public_settings.dragonpay_details.show_active_payment ? this.proc_id.procId : null,
|
|
181
|
+
url: this.dragonpay_backend,
|
|
182
|
+
transaction_id: this.txnid
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
location.href=url;
|
|
186
|
+
// document.getElementById('dragon_pay_form').submit();
|
|
163
187
|
}
|
|
164
188
|
else
|
|
165
189
|
{
|