PageSourceSearch

https://www.foretfishing.cz/modules/thecheckout/views/js/parsers/payplug.js

js foretfishing.cz collected 2026-10-06 17:30:49 UTC 956 bytes, 27 lines download raw bytes

1/**
2 * NOTICE OF LICENSE
3 *
4 * This source file is subject to the Software License Agreement
5 * that is bundled with this package in the file LICENSE.txt.
6 *
7 *  @author    Peter Sliacky (Zelarg)
8 *  @license   http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
9 */
10
11// 20.5.2019: For the moment, we won't be using any parsing, we'll just override form submit routine
12// IMPORTANT NOTE: It's necessary to update modules/payplug/payplug.php, in method getEmbeddedPaymentOption,
13// remove lightbox condition, and to init payment always, like this:
14// if (true || (int)Tools::getValue('lightbox') == 1) {
15
16$('#thecheckout-payment').on('submit', '.payplug .payment-form', function () {
17
18  var url = $('#payplug_form_js').data('payment-url');
19  // Only for embedd mode, otherwise, let the default action
20  if ('undefined' !== typeof Payplug)
21  {
22  	Payplug.showPayment(url);
23  	return false;
24  }
25});
26
27checkoutPaymentParser.payplug = {}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.