Skip to content

Commit

Permalink
fix: client validation (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
perjo927 authored Oct 28, 2022
1 parent 2e1a7a4 commit be65522
Show file tree
Hide file tree
Showing 11 changed files with 22,250 additions and 158 deletions.
2 changes: 1 addition & 1 deletion assets/js/ledyer-checkout-for-woocommerce.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ jQuery(function ($) {
} catch (err) {
if (data.messages) {
lco_wc.logToFile('Checkout error | ' + data.messages);
lco_wc.failOrder("Vänligen kontrollera att alla uppgifter är korrekt ifyllda.");
lco_wc.failOrder("Vänligen kontrollera att alla uppgifter är korrekt ifyllda.", data.messages);
} else {
lco_wc.logToFile('Checkout error | No message' + err);
lco_wc.failOrder();
Expand Down
2 changes: 1 addition & 1 deletion build/ledyer-checkout-for-woocommerce.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'c9b26a59936c3abf23861e1b7403bb58');
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'bc1cc1fd1a0e3166f22af217aa51480c');
21 changes: 1 addition & 20 deletions build/ledyer-checkout-for-woocommerce.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion build/ledyer-checkout-for-woocommerce.css.map

This file was deleted.

101 changes: 0 additions & 101 deletions build/ledyer-checkout-for-woocommerce.js

This file was deleted.

1 change: 0 additions & 1 deletion build/ledyer-checkout-for-woocommerce.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions changelog.readme
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.1.1
* Fix: client side validation bugs

## 1.1.0
* Feature: client side validation

Expand Down
2 changes: 1 addition & 1 deletion classes/class-ledyer-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Ledyer_Checkout_For_WooCommerce {
*/
public $checkout;

const VERSION = '1.1.0';
const VERSION = '1.1.1';
const SLUG = 'ledyer-checkout-for-woocommerce';
const SETTINGS = 'ledyer_checkout_for_woocommerce_settings';

Expand Down
2 changes: 1 addition & 1 deletion languages/ledyer-checkout-for-woocommerce.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the same license as the Ledyer Checkout for WooCommerce plugin.
msgid ""
msgstr ""
"Project-Id-Version: Ledyer Checkout for WooCommerce 1.1.0\n"
"Project-Id-Version: Ledyer Checkout for WooCommerce 1.1.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ledyer-checkout-for-woocommerce\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
2 changes: 1 addition & 1 deletion ledyer-checkout-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Ledyer Checkout payment gateway for WooCommerce.
* Author: Maksimer/Ledyer
* Author URI: https://www.maksimer.com/
* Version: 1.1.0
* Version: 1.1.1
* Text Domain: ledyer-checkout-for-woocommerce
* Domain Path: /languages
*
Expand Down
Loading

0 comments on commit be65522

Please sign in to comment.