Skip to content

Commit

Permalink
Merge pull request #23 from apetrovici/1.2.1
Browse files Browse the repository at this point in the history
Woocommerce - RELEASE 1.2.1 PR
  • Loading branch information
securesubmit-buildmaster authored May 5, 2022
2 parents c9c8484 + 4d5e8ce commit 17432a5
Show file tree
Hide file tree
Showing 11 changed files with 2,394 additions and 38 deletions.
2 changes: 1 addition & 1 deletion assets/admin/js/globalpayments-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@
* @type {any}
*/
(window).globalpayments_admin_params || {},
));
));
5 changes: 5 additions & 0 deletions assets/frontend/js/globalpayments-secure-payment-fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,11 @@
this.showValidationError( 'card-expiration' );
break;
}
var n = reason.message.search("card.number");
if (n >= 0) {
this.showValidationError('card-number');
break;
}
case 'SYSTEM_ERROR_DOWNSTREAM':
var n = reason.message.search( "card expdate" );
if ( n>=0 ) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"require": {
"globalpayments/php-sdk": "3.0.2",
"globalpayments/php-sdk": "3.0.5",
"psr/log": "^1.1"
},
"require-dev": {
Expand Down
Loading

0 comments on commit 17432a5

Please sign in to comment.