geer-builder 1.2.565 → 1.2.566
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 +13 -8
- package/package.json +1 -1
package/GCheckout.vue
CHANGED
|
@@ -477,7 +477,7 @@ export default {
|
|
|
477
477
|
}
|
|
478
478
|
else if(this.public_settings.hasOwnProperty('registration_sponsor') && this.public_settings.registration_sponsor.active)
|
|
479
479
|
{
|
|
480
|
-
sessionStorage.setItem('referral_slot_code', this.
|
|
480
|
+
sessionStorage.setItem('referral_slot_code', this.public_settings.registration_sponsor.default_sponsor);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
|
|
@@ -1897,15 +1897,20 @@ export default {
|
|
|
1897
1897
|
this.online_payment_only = true;
|
|
1898
1898
|
for( var i = 0; i < this.payment_method_list.length; i++)
|
|
1899
1899
|
{
|
|
1900
|
-
if (this.payment_method_list[i].payment_method_id == 'dragon_pay' || this.payment_method_list[i].payment_method_id == 'online_payment')
|
|
1900
|
+
// if (this.payment_method_list[i].payment_method_id == 'dragon_pay' || this.payment_method_list[i].payment_method_id == 'online_payment')
|
|
1901
|
+
if(this.public_settings.hasOwnProperty('shopper_member_payment_method'))
|
|
1901
1902
|
{
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1903
|
+
if(this.public_settings.shopper_member_payment_method.includes(this.payment_method_list[i].payment_method_id))
|
|
1904
|
+
{
|
|
1905
|
+
|
|
1906
|
+
}
|
|
1907
|
+
else
|
|
1908
|
+
{
|
|
1909
|
+
this.payment_method_list.splice(i, 1);
|
|
1910
|
+
i--;
|
|
1911
|
+
}
|
|
1908
1912
|
}
|
|
1913
|
+
|
|
1909
1914
|
}
|
|
1910
1915
|
}
|
|
1911
1916
|
});
|