-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c288295
commit 8107a75
Showing
15 changed files
with
49 additions
and
83 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] . | ||
|
||
## 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 [email protected] . | ||
## 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<extension version="2.5" type="plugin" group="system" method="upgrade"> | ||
<name>Cardlink Payment Gateway Helper</name> | ||
<version>1.1.0</version> | ||
<modified>19-09-2024</modified> | ||
<version>1.1.1</version> | ||
<modified>14-10-2024</modified> | ||
<creationDate>11/07/2024</creationDate> | ||
<author>Cardlink</author> | ||
<authorEmail>[email protected]</authorEmail> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 1 addition & 37 deletions
38
plugins/vmpayment/cardlinkiris/assets/js/scripts-frontend.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,8 @@ | ||
(function ($) { | ||
'use strict'; | ||
|
||
function check_order_status(orderId) { | ||
var polling = setInterval(function () { | ||
var $iframe = $('#payment_iframe'); | ||
if ($iframe.attr('src') != 'about:blank') { | ||
$.ajax({ | ||
url: 'index.php?option=com_virtuemart&view=plugin&type=vmpayment&name=cardlinkiris&task=checkOrderStatus', | ||
data: { | ||
order_id: orderId | ||
}, | ||
type: 'post', | ||
dataType: 'json', | ||
success: function (response) { | ||
var redirectUrl = response.data[0].redirect_url; | ||
var redirected = response.data[0].redirected; | ||
if (!redirected && redirectUrl) { | ||
clearInterval(polling); | ||
window.location.href = redirectUrl; | ||
} | ||
}, | ||
error: function (error) { | ||
clearInterval(polling); | ||
window.location.reload(); | ||
} | ||
}); | ||
} | ||
}, 1000); | ||
} | ||
|
||
function modalPayment($iframe) { | ||
var orderId = $iframe.data('order-id'); | ||
check_order_status(orderId); | ||
} | ||
|
||
$(document).ready(function () { | ||
var $iframe = $('#payment_iframe'); | ||
if ($iframe.length > 0) { | ||
modalPayment($iframe); | ||
} | ||
|
||
}); | ||
|
||
})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters