Changeset 3111505
- Timestamp:
- 07/03/2024 07:48:53 AM (21 months ago)
- Location:
- triplea-cryptocurrency-payment-gateway-for-woocommerce
- Files:
-
- 9 edited
- 2 copied
-
tags/2.0.17 (copied) (copied from triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk)
-
tags/2.0.17/assets/js/checkout.js (modified) (3 diffs)
-
tags/2.0.17/readme.txt (modified) (3 diffs)
-
tags/2.0.17/triplea-cryptocurrency-payment-gateway-for-woocommerce.php (modified) (2 diffs)
-
tags/2.0.17/trunk (copied) (copied from triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk)
-
tags/2.0.17/trunk/assets/js/checkout.js (modified) (3 diffs)
-
tags/2.0.17/trunk/readme.txt (modified) (3 diffs)
-
tags/2.0.17/trunk/triplea-cryptocurrency-payment-gateway-for-woocommerce.php (modified) (2 diffs)
-
trunk/assets/js/checkout.js (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/triplea-cryptocurrency-payment-gateway-for-woocommerce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.17/assets/js/checkout.js
r3102572 r3111505 125 125 triplea_displayEmbeddedPaymentForm(); 126 126 }; 127 127 // Function to remove the beforeunload event listener 128 function removeBeforeUnload() { 129 window.removeEventListener("beforeunload", handleBeforeUnload); 130 } 131 132 // Function to handle the beforeunload event 133 function handleBeforeUnload(e) { 134 var message = "Are you sure you want to leave?"; 135 e.returnValue = message; 136 return message; 137 } 128 138 window.triplea_displayEmbeddedPaymentForm = function () { 129 139 const iframeUrlNode = document.getElementById( … … 170 180 ); 171 181 insertionNode.parentNode.insertBefore(iframeNode, btnNode); 172 window.addEventListener("beforeunload", function (e) { 173 var message = "Are you sure you want to leave?"; 174 e.returnValue = message; 175 return message; 176 }); 182 window.addEventListener("beforeunload", handleBeforeUnload); 183 177 184 (function () { 178 185 window.addEventListener( … … 197 204 } else if (response[0] === "triplea.paymentSuccess") { 198 205 // console.debug('Catching ' + response[0] + ' event'); 206 removeBeforeUnload(); 199 207 triplea_submitForm(); 200 208 } else if (response[0] === "triplea.formExpired") { 201 209 // console.debug('Catching ' + response[0] + ' event'); 210 removeBeforeUnload(); 202 211 triplea_displayBackupPlaceOrderBtn(); 203 212 } -
triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.17/readme.txt
r3102572 r3111505 7 7 Requires at least: 5.5 8 8 Tested up to: 6.5.4 9 Stable tag: 2.0.1 69 Stable tag: 2.0.17 10 10 Requires PHP: 7.0 11 11 License: GPLv2 or later … … 109 109 == Changelog == 110 110 111 = 2.0.17 = 112 Fixed: Leave site promt removed in checkout page after displaying payment form success 113 111 114 = 2.0.16 = 112 115 Fixed: Order currency is now visible in the payment form … … 302 305 == Upgrade Notice == 303 306 307 = 2.0.17 = 308 Simply install the update. No further action is needed. 309 304 310 = 2.0.16 = 305 311 Simply install the update. No further action is needed. -
triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.17/triplea-cryptocurrency-payment-gateway-for-woocommerce.php
r3102572 r3111505 17 17 * Plugin URI: https://wordpress.org/plugins/triplea-cryptocurrency-payment-gateway-for-woocommerce/ 18 18 * Description: Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by TripleA. 19 * Version: 2.0.1 619 * Version: 2.0.17 20 20 * Author: Triple-A Team 21 21 * Author URI: https://triple-a.io … … 50 50 * $var string 51 51 */ 52 const version = '2.0.1 6';52 const version = '2.0.17'; 53 53 54 54 /* -
triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.17/trunk/assets/js/checkout.js
r3102572 r3111505 125 125 triplea_displayEmbeddedPaymentForm(); 126 126 }; 127 127 // Function to remove the beforeunload event listener 128 function removeBeforeUnload() { 129 window.removeEventListener("beforeunload", handleBeforeUnload); 130 } 131 132 // Function to handle the beforeunload event 133 function handleBeforeUnload(e) { 134 var message = "Are you sure you want to leave?"; 135 e.returnValue = message; 136 return message; 137 } 128 138 window.triplea_displayEmbeddedPaymentForm = function () { 129 139 const iframeUrlNode = document.getElementById( … … 170 180 ); 171 181 insertionNode.parentNode.insertBefore(iframeNode, btnNode); 172 window.addEventListener("beforeunload", function (e) { 173 var message = "Are you sure you want to leave?"; 174 e.returnValue = message; 175 return message; 176 }); 182 window.addEventListener("beforeunload", handleBeforeUnload); 183 177 184 (function () { 178 185 window.addEventListener( … … 197 204 } else if (response[0] === "triplea.paymentSuccess") { 198 205 // console.debug('Catching ' + response[0] + ' event'); 206 removeBeforeUnload(); 199 207 triplea_submitForm(); 200 208 } else if (response[0] === "triplea.formExpired") { 201 209 // console.debug('Catching ' + response[0] + ' event'); 210 removeBeforeUnload(); 202 211 triplea_displayBackupPlaceOrderBtn(); 203 212 } -
triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.17/trunk/readme.txt
r3102572 r3111505 7 7 Requires at least: 5.5 8 8 Tested up to: 6.5.4 9 Stable tag: 2.0.1 69 Stable tag: 2.0.17 10 10 Requires PHP: 7.0 11 11 License: GPLv2 or later … … 109 109 == Changelog == 110 110 111 = 2.0.17 = 112 Fixed: Leave site promt removed in checkout page after displaying payment form success 113 111 114 = 2.0.16 = 112 115 Fixed: Order currency is now visible in the payment form … … 302 305 == Upgrade Notice == 303 306 307 = 2.0.17 = 308 Simply install the update. No further action is needed. 309 304 310 = 2.0.16 = 305 311 Simply install the update. No further action is needed. -
triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.17/trunk/triplea-cryptocurrency-payment-gateway-for-woocommerce.php
r3102572 r3111505 16 16 * Plugin Name: Crypto Payment Gateway for WooCommerce 17 17 * Plugin URI: https://wordpress.org/plugins/triplea-cryptocurrency-payment-gateway-for-woocommerce/ 18 * Description: Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by Triple A.19 * Version: 2.0.1 618 * Description: Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by Triple-A. 19 * Version: 2.0.17 20 20 * Author: Triple-A Team 21 21 * Author URI: https://triple-a.io … … 50 50 * $var string 51 51 */ 52 const version = '2.0.1 6';52 const version = '2.0.17'; 53 53 54 54 /* -
triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/assets/js/checkout.js
r3102572 r3111505 125 125 triplea_displayEmbeddedPaymentForm(); 126 126 }; 127 127 // Function to remove the beforeunload event listener 128 function removeBeforeUnload() { 129 window.removeEventListener("beforeunload", handleBeforeUnload); 130 } 131 132 // Function to handle the beforeunload event 133 function handleBeforeUnload(e) { 134 var message = "Are you sure you want to leave?"; 135 e.returnValue = message; 136 return message; 137 } 128 138 window.triplea_displayEmbeddedPaymentForm = function () { 129 139 const iframeUrlNode = document.getElementById( … … 170 180 ); 171 181 insertionNode.parentNode.insertBefore(iframeNode, btnNode); 172 window.addEventListener("beforeunload", function (e) { 173 var message = "Are you sure you want to leave?"; 174 e.returnValue = message; 175 return message; 176 }); 182 window.addEventListener("beforeunload", handleBeforeUnload); 183 177 184 (function () { 178 185 window.addEventListener( … … 197 204 } else if (response[0] === "triplea.paymentSuccess") { 198 205 // console.debug('Catching ' + response[0] + ' event'); 206 removeBeforeUnload(); 199 207 triplea_submitForm(); 200 208 } else if (response[0] === "triplea.formExpired") { 201 209 // console.debug('Catching ' + response[0] + ' event'); 210 removeBeforeUnload(); 202 211 triplea_displayBackupPlaceOrderBtn(); 203 212 } -
triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/readme.txt
r3102572 r3111505 7 7 Requires at least: 5.5 8 8 Tested up to: 6.5.4 9 Stable tag: 2.0.1 69 Stable tag: 2.0.17 10 10 Requires PHP: 7.0 11 11 License: GPLv2 or later … … 109 109 == Changelog == 110 110 111 = 2.0.17 = 112 Fixed: Leave site promt removed in checkout page after displaying payment form success 113 111 114 = 2.0.16 = 112 115 Fixed: Order currency is now visible in the payment form … … 302 305 == Upgrade Notice == 303 306 307 = 2.0.17 = 308 Simply install the update. No further action is needed. 309 304 310 = 2.0.16 = 305 311 Simply install the update. No further action is needed. -
triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/triplea-cryptocurrency-payment-gateway-for-woocommerce.php
r3102572 r3111505 16 16 * Plugin Name: Crypto Payment Gateway for WooCommerce 17 17 * Plugin URI: https://wordpress.org/plugins/triplea-cryptocurrency-payment-gateway-for-woocommerce/ 18 * Description: Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by Triple A.19 * Version: 2.0.1 618 * Description: Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by Triple-A. 19 * Version: 2.0.17 20 20 * Author: Triple-A Team 21 21 * Author URI: https://triple-a.io … … 50 50 * $var string 51 51 */ 52 const version = '2.0.1 6';52 const version = '2.0.17'; 53 53 54 54 /*
Note: See TracChangeset
for help on using the changeset viewer.