Skip to content

Commit

Permalink
Merge pull request #65 from payfort/Release-Feature
Browse files Browse the repository at this point in the history
v2.4.8 deprecated jquery function size is replaced with length
  • Loading branch information
cetozgen authored Aug 17, 2023
2 parents 739c49c + 3c6be23 commit 120d15f
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 16 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,26 @@ Follow the below instruction to access configuration page of APS extension for M
## Configuration and User Guide
You can download the archive [file](/magento2-aps-2.4.6.zip) of the plugin and install it to Magento. Detailed guide is included in the repository [here](https://github.com/payfort/magento2-payfort/wiki).

## Changelog

| Plugin Version | Release Notes |
| :---: | :--- |
| 2.4.8 | * Fix - jQuery deprecated size() function is replaced with length |
| 2.4.7 | * Fix - Shipping tax is considered for the refund calculation <br/> * Fix - ApplePay url validation is added <br/> * Fix - item id is considered during subscription product cancellation|
| 2.4.6 | * Fix - Notification endpoints to consider auth and purchase success status codes |
| 2.4.5 | * Fix - Remember me parameter is controlled by STCPay tokenization configuration |
| 2.4.4 | * Feature - Recurring functionality is controlled by configuration parameter |
| 2.4.3 | * Fix - ApplePay Sha type is collected from ApplePay config <br/> * New - ValuV2 Installment Plan details are added to confirmation screen |
| 2.4.2 | * Valu payment option is updated |
| 2.4.1 | * Fix - Compliance changes for Magento v2.4.5 |
| 2.4.0 | * STCPay is added as a new payment option |
| 2.3.0 | * Fix - Customer login mandatory for Subscription products <br/> * Fix - Invoice generation on child orders resolved <br/> * Fix - Failed orders not showing in subscription listing <br/> * Fix - Subscriptions listing not showing proper status <br/> * Fix - Country name issue with version dependency resolved <br/> * Fix - Shipping and billing region id issue resolved <br/> * Fix - Recurring cron issue for inactive products <br/> * Fix - Payment cron issue of Apple Code <br/> * Fix - Credit memo issue resolved <br/> * Fix - Mada bin changes |
| 2.2.3 | * Fix - Logout after redirection related to session is resolved <br/> * Fix - Apple Pay code simplification |
| 2.2.2 | * Fix - Namespace change <br/> * Fix - Shipping and tax calculation corrections in Apple Pay of Product / Cart pages <br/> * Fix - Back button click handling after a successful transaction |
| 2.2.1 | * Fix - Fixed Apple Pay floating point issue |
| 2.2.0 | * New - Installments are embedded in Debit/Credit Card payment option |
| 2.1.0 | * New - ApplePay is activated in Product and Cart pages |
| 2.0.0 | * New - Integrated payment options: MasterCard, Visa, AMEX, mada, Meeza, KNET, NAPS, Visa Checkout, ApplePay, valU <br/> * New - Tokenization is enabled for Debit/Credit Cards and Installments <br/> * New - Partial/Full Refund, Single/Multiple Capture and Void events are managed in order details |

## API Documentation
This plugin has been implemented by using following [API library](https://paymentservices-reference.payfort.com/docs/api/build/index.html)
Expand Down
Binary file added magento-aps-2.4.8.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion magento2-aps/Amazonpaymentservices/Fort/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "amazonpaymentservices/module-fort",
"description": "APS integration with payment gateway",
"version": "2.4.7",
"version": "2.4.8",
"type": "magento2-module",
"license": [
"MIT"
Expand Down
2 changes: 1 addition & 1 deletion magento2-aps/Amazonpaymentservices/Fort/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
**/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Amazonpaymentservices_Fort" setup_version="2.4.0">
<module name="Amazonpaymentservices_Fort" setup_version="2.4.8">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
var apsFortStandard = (function () {
return {
showStandard: function (gatewayUrl) {
if (jQuery("#aps_merchant_page").size()) {
if (jQuery("#aps_merchant_page").length) {
jQuery("#aps_merchant_page").remove();
}
jQuery("#review-buttons-container .btn-checkout").hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
var apsFortStandard = (function () {
return {
showStandard: function (gatewayUrl) {
if (jQuery("#aps_merchant_page").size()) {
if (jQuery("#aps_merchant_page").length) {
jQuery("#aps_merchant_page").remove();
}
jQuery("#review-buttons-container .btn-checkout").hide();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ define(
success: function (response) {
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down Expand Up @@ -175,7 +175,7 @@ define(
success: function (response) {
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ define(
msg;
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down Expand Up @@ -556,7 +556,7 @@ define(
success: function (response) {
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down Expand Up @@ -624,7 +624,7 @@ define(
msg;
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down Expand Up @@ -673,7 +673,7 @@ define(
msg;
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down Expand Up @@ -737,7 +737,7 @@ define(
msg;
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down Expand Up @@ -786,7 +786,7 @@ define(
success: function (response) {
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ define(
success: function (response) {
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ define(
msg;
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down Expand Up @@ -475,7 +475,7 @@ define(
msg;
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ define(
msg;
if (response.success) {
var formId = 'frm_aps_fort_payment';
if (jQuery("#"+formId).size()) {
if (jQuery("#"+formId).length) {
jQuery("#"+formId).remove();
}
$('<form id="'+formId+'" action="#" method="POST"></form>').appendTo('body');
Expand Down

0 comments on commit 120d15f

Please sign in to comment.