Changeset 2433401
- Timestamp:
- 12/07/2020 05:23:32 PM (5 years ago)
- Location:
- quadpay-gateway-for-woocommerce
- Files:
-
- 15 added
- 3 edited
-
tags/1.3.7 (added)
-
tags/1.3.7/LICENSE (added)
-
tags/1.3.7/README.md (added)
-
tags/1.3.7/assets (added)
-
tags/1.3.7/assets/css (added)
-
tags/1.3.7/assets/css/widget.css (added)
-
tags/1.3.7/assets/images (added)
-
tags/1.3.7/assets/images/quadpay-logo-color.svg (added)
-
tags/1.3.7/assets/js (added)
-
tags/1.3.7/assets/js/frontend.js (added)
-
tags/1.3.7/assets/js/webcomponents-loader.js (added)
-
tags/1.3.7/config (added)
-
tags/1.3.7/config/config.php (added)
-
tags/1.3.7/quadpay.php (added)
-
tags/1.3.7/readme.txt (added)
-
trunk/README.md (modified) (2 diffs)
-
trunk/quadpay.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quadpay-gateway-for-woocommerce/trunk/README.md
r2347738 r2433401 12 12 Activate the plugin, enter the API key and check the settings page. 13 13 14 1. Login to the WordPress Admin Dashboard and go to Plugins. 15  16 2. Click on Add New. 17  18 3. Click on Upload Plugin. 19  20 4. Click on Choose File and find the location of where you downloaded the plugin. Select the zipped plugin file, and click on Install Now. 21  22 5. After successful installation, click on Activate Plugin. 23  24 6. Go back to the Dashboard, select Plugins, WooCommerce QuadPay Gateway plugin now appears in the list of plugins. To configure click on Settings. 25  26 14 27 ## Frequently Asked Questions 15 28 … … 24 37 ### Is the plugin for free? 25 38 26 The source code is freely available, but you need a QuadPay client ID and client secret to provide your customers a buy know, pay later option. Please sign up on https://www.quadpay.com/signup-merchant/.39 The source code is freely available, but you need a QuadPay client ID and client secret to provide your customers a buy now, pay later option. Please sign up on https://www.quadpay.com/signup-merchant/. 27 40 28 41 ### Why do you load external files? 29 42 30 The plugin is loading anexternal files on the product detail page, the cart and checkout page. This javascript file is needed to show up the QuadPay information and is provided on the fly. In some cases QuadPay provides a dedicated file for the individual merchant.43 The plugin is loading external files on the product detail page, the cart and checkout page. This javascript file is needed to show up the QuadPay information and is provided on the fly. In some cases QuadPay provides a dedicated file for the individual merchant. 31 44 32 45 ### I miss a feature. What to do? -
quadpay-gateway-for-woocommerce/trunk/quadpay.php
r2378243 r2433401 5 5 Author: QuadPay, Inc. 6 6 Author URI: https://www.quadpay.com 7 Version: 1.3. 77 Version: 1.3.8 8 8 WC requires at least: 3.1.0 9 WC tested up to: 4. 5.19 WC tested up to: 4.8.0 10 10 */ 11 11 12 12 add_action( 'plugins_loaded', 'quadpay_wc_gateway', 0 ); 13 13 14 /** 15 * 16 */ 14 17 function quadpay_wc_gateway() { 15 18 … … 1463 1466 add_action( 'wp_enqueue_scripts', 'quadpay_wc_frontend_js' ); 1464 1467 1468 if( !is_admin() ) { 1469 /** 1470 * Add defer attribute 1471 * 1472 * @param $tag 1473 * @param $handle 1474 * 1475 * @return string|string[] 1476 * 1477 * @since 1.3.8 1478 */ 1479 function add_defer_attribute( $tag, $handle ) { 1480 1481 // if the unique handle/name of the registered script has 'defer' in it 1482 if ( strpos( $handle, 'defer' ) !== false ) { 1483 // return the tag with the defer attribute 1484 return str_replace( '<script ', '<script defer nomodule ', $tag ); 1485 } 1486 // otherwise skip 1487 else { 1488 return $tag; 1489 } 1490 } 1491 add_filter('script_loader_tag', 'add_defer_attribute', 10, 2); 1492 } 1493 1465 1494 } 1466 1495 -
quadpay-gateway-for-woocommerce/trunk/readme.txt
r2378243 r2433401 3 3 * Tags: QuadPay, WooCommerce, payment, gateway 4 4 * Requires at least: 4.7 5 * Tested up to: 5. 5.16 * Stable tag: 1.3. 75 * Tested up to: 5.6.0 6 * Stable tag: 1.3.8 7 7 * Requires PHP: 7.0 8 8 * License: GPLv3 … … 54 54 55 55 == Changelog == 56 = 1.3.8 = 57 * Tweak - added attribute to ES5 script to maximize browser support 58 * Tweak - improved readme description installation 59 * Compatibility - tested up to WordPress 5.6.0 and WooCommerce 4.8.0 60 56 61 = 1.3.7 = 57 62 * Tweak - logging improvements
Note: See TracChangeset
for help on using the changeset viewer.