diff --git a/README-IMAGES/iris-configuration-image001.png b/README-IMAGES/iris-configuration-image001.png new file mode 100644 index 0000000..1e879df Binary files /dev/null and b/README-IMAGES/iris-configuration-image001.png differ diff --git a/README-IMAGES/iris-configuration-image002.png b/README-IMAGES/iris-configuration-image002.png new file mode 100644 index 0000000..d640e16 Binary files /dev/null and b/README-IMAGES/iris-configuration-image002.png differ diff --git a/README-IMAGES/iris-configuration-image003.png b/README-IMAGES/iris-configuration-image003.png new file mode 100644 index 0000000..165ec48 Binary files /dev/null and b/README-IMAGES/iris-configuration-image003.png differ diff --git a/README.md b/README.md index ff7db95..6b49461 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,26 @@ - Contributors: cardlink - Tags: payments, payment-gateway - Requires at least: Joomla 4.1.0, VirtueMart 4.x -- Tested up to: Joomle 4.4.3, VirtueMart 4.2.4 +- Tested up to: Joomle 4.4.8, VirtueMart 4.2.4 - Requires PHP: 7.x - 8.x - License: GPLv2 or later - License URI: http://www.gnu.org/licenses/gpl-2.0.html ## Changelog -- **1.0.0** - - Initial release. -- **1.0.1** - - Optimized digest validation process. +- **1.1.1** + - Minor fixes. + - Updated README. - **1.1.0** - Added support for IRIS payments. +- **1.0.1** + - Optimized digest validation process. +- **1.0.0** + - Initial release. + +## Support tickets + +In case that you face any technical issue during the installation process, you can contact the Cardlink e-commerce team at ecommerce_support@cardlink.gr . ## Description @@ -37,7 +44,9 @@ Once you have completed the requested tests and any changes to your website, you 8. A text field for providing the absolute or relative (to Cardlink Payment Gateway location on server) URL of custom CSS stylesheet, to apply custom CSS styles in the payment page. 9. Translation ready for Greek & English languages. 10. Automatically cancel pending payment orders after a configurable number of minutes using Joomla Scheduled Tasks. -11. Support for IRIS payments. +11. Support for IRIS payments for Nexi acquirer only. +12. The IFRAME feature is not supported for IRIS payments + ## Installation and Configuration @@ -89,6 +98,11 @@ If you are unsure or unfamiliar with the actions described above, please ask a t If you are unsure or unfamiliar with the actions described above, please ask a trained IT person or contact your hosting provider to do them for you. -## Support tickets -In case that you face any technical issue during the installation process, you can contact the Cardlink e-commerce team at ecommerce_support@cardlink.gr . +## IRIS Payments Setup + +To set up IRIS payments, you will need to have the Merchant ID, Shared Secret and DIAS Customer ID specifically issued for use with IRIS. Other settings are similar to the ones for Card Payments. + +![iris-configuration-image001.png](README-IMAGES/iris-configuration-image001.png) +![iris-configuration-image002.png](README-IMAGES/iris-configuration-image002.png) +![iris-configuration-image003.png](README-IMAGES/iris-configuration-image003.png) \ No newline at end of file diff --git a/cardlink.xml b/cardlink.xml index a174cea..d8063ef 100644 --- a/cardlink.xml +++ b/cardlink.xml @@ -1,8 +1,8 @@ Cardlink Payment Gateway Helper - 1.1.0 - 19-09-2024 + 1.1.1 + 14-10-2024 11/07/2024 Cardlink info@cardlink.gr diff --git a/plugins/vmpayment/cardlinkcard/assets/js/scripts-frontend.js b/plugins/vmpayment/cardlinkcard/assets/js/scripts-frontend.js index 51d4df8..faaa712 100644 --- a/plugins/vmpayment/cardlinkcard/assets/js/scripts-frontend.js +++ b/plugins/vmpayment/cardlinkcard/assets/js/scripts-frontend.js @@ -77,9 +77,14 @@ $storedCardRadioOption.trigger('change'); } - var $iframe = $('#payment_iframe'); - if ($iframe.length > 0) { - modalPayment($iframe); + var searchParams = new URLSearchParams(window.location.search); + var $vmOrderDone = $('.vm-wrap.vm-order-done'); + + if ($vmOrderDone.length > 0 || (searchParams.has('task') && searchParams.get('task') == 'orderdone')) { + var $iframe = $('#payment_iframe'); + if ($iframe.length > 0) { + modalPayment($iframe); + } } }); diff --git a/plugins/vmpayment/cardlinkcard/tmpl/form.php b/plugins/vmpayment/cardlinkcard/tmpl/form.php index ee47f82..940a606 100644 --- a/plugins/vmpayment/cardlinkcard/tmpl/form.php +++ b/plugins/vmpayment/cardlinkcard/tmpl/form.php @@ -17,11 +17,11 @@ $logoURL = Uri::root(true) . '/plugins/vmpayment/cardlinkcard/assets/images/cardlink.svg'; ?> -
+
-
"> + ">