Files
wyczarujprezent.pl/modules/thecheckout/views/js/parsers/shaim_shipping_modules.js
Jacek Pyziak d39433f0d4 Add new payment and shipping parsers for various integrations
- Implemented Google Pay parser in bongooglepay.js
- Added Buckaroo 3 payment parser in buckaroo3.js
- Introduced DataTrans CW Mastercard parser in datatranscw.js
- Created DataTrans CW Credit Card parser in datatranscw_creditcard.js
- Developed DHL Assistant shipping parser in dhlassistant.js
- Added Estimated Delivery parser in estimateddelivery.js
- Implemented Floapay payment parser in floapay.js
- Created FS Pickup at Store shipping parser in fspickupatstore.js
- Developed Generic Iframe parser in generic_iframe_parser.js
- Added Geodis Officiel shipping parser in geodisofficiel.js
- Implemented Glob Kurier module shipping parser in globkuriermodule.js
- Created Latvija Post Express Pickup Terminal parser in latvijaspastsexpresspastspostterminalslv.js
- Developed LP Shipping parser in lpshipping.js
- Added Mijora Venipak parser in mijoravenipak.js
- Implemented Apple Pay parser in pm_applepay.js
- Created Przelewy24 payment parser in przelewy24.js
- Developed Pshugls shipping parser in pshugls.js
- Added Redsys Insite payment parser in redsysinsite.js
- Implemented Tpay payment parser in tpay.js
- Updated third-party integration documentation for FedEx DotCom
2025-08-04 23:10:27 +02:00

117 lines
3.9 KiB
JavaScript

/**
* NOTICE OF LICENSE
*
* This source file is subject to the Software License Agreement
* that is bundled with this package in the file LICENSE.txt.
*
* @author Peter Sliacky (Zelarg)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
var shaim_shipping_modules_present = ('undefined' !== typeof exists_opc);
if (shaim_shipping_modules_present) {
document.addEventListener('DOMContentLoaded', function(event) {
if (typeof CheckHardPplparcelshop === 'function') {
prestashop.on('thecheckout_updateDeliveryOption', function () {
setTimeout(function () {
var ppl_parcelshop_iframe = document.getElementById('ppl_parcelshop_iframe');
if (typeof ppl_parcelshop_iframe !== 'undefined' && ppl_parcelshop_iframe && typeof iframeListenerPplparcelshop === 'function') {
var idoc_ppl_parcelshop = ppl_parcelshop_iframe.contentWindow || ppl_parcelshop_iframe.contentDocument;
idoc_ppl_parcelshop.document.addEventListener('ppl-parcelshop-map', function (e) {
iframeListenerPplparcelshop(e);
});
}
}, 1500);
});
}
});
tc_confirmOrderValidations['shaim_shipping_modules'] = function () {
/* openservis - WEDO - begin */
if (typeof CheckHardWedo === 'function' && CheckHardWedo() === false) {
return false;
}
/* openservis - WEDO - end */
/* openservis - Zásilkovna WIDGET - begin */
if (typeof CheckHardZasilkovnaWidget === 'function' && CheckHardZasilkovnaWidget() === false) {
return false;
}
/* openservis - Zásilkovna WIDGET - end */
/* openservis - Zásilkovna - begin */
if (typeof CheckHardZasilkovna === 'function' && CheckHardZasilkovna() === false) {
return false;
}
/* openservis - Zásilkovna - end */
/* openservis - Uloženka - begin */
if (typeof CheckHardUlozenka === 'function' && CheckHardUlozenka() === false) {
return false;
}
/* openservis - Uloženka - end */
/* openservis - In Time - begin */
if (typeof CheckHardIntime === 'function' && CheckHardIntime() === false) {
return false;
}
/* openservis - In Time - end */
/* openservis - PPL - sobotní doručení - begin */
if (typeof CheckHardPplsobotnidoruceni === 'function' && CheckHardPplsobotnidoruceni() === false) {
return false;
}
/* openservis - PPL - sobotní doručení - end */
/* openservis - PPL - Parcel Shop - begin */
if (typeof CheckHardPplparcelshop === 'function' && CheckHardPplparcelshop() === false) {
return false;
}
/* openservis - PPL - Parcel Shop - end */
/* openservis - GLS - Parcel Shop - begin */
if (typeof CheckHardGlsparcelshop === 'function' && CheckHardGlsparcelshop() === false) {
return false;
}
/* openservis - GLS - Parcel Shop - end */
/* openservis - Geis Point - begin */
if (typeof CheckHardGeispoint === 'function' && CheckHardGeispoint() === false) {
return false;
}
/* openservis - Geis Point - end */
/* openservis - DPD Parcel Shop (Pick Up) - begin */
if (typeof CheckHardDpdparcelshop === 'function' && CheckHardDpdparcelshop() === false) {
return false;
}
/* openservis - DPD Parcel Shop (Pick Up) - end */
/* openservis - Balik Do ruky - begin */
if (typeof CheckHardBalikdoruky === 'function' && CheckHardBalikdoruky() === false) {
return false;
}
/* openservis - Balik Do ruky - end */
/* openservis - Balik na postu - begin */
if (typeof CheckHardBaliknapostu === 'function' && CheckHardBaliknapostu() === false) {
return false;
}
/* openservis - Balik na postu - end */
/* openservis - Balikovna - begin */
if (typeof CheckHardBalikovna === 'function' && CheckHardBalikovna() === false) {
return false;
}
/* openservis - Balikovna - end */
return true;
/* openservis - Zásilkovna - end */
}
}