Skip to content

Commit

Permalink
Minor fixes and usability improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Boia Alexandru committed Apr 21, 2020
1 parent 9fca359 commit e2c4691
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
Binary file modified .gitignore
Binary file not shown.
8 changes: 7 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://ko-fi.com/alexandruboia
Tags: payment, card, mobilpay, creditcard, woocommerce
Requires at least: 5.0
Tested up to: 5.4.0
Stable tag: 0.1.0
Stable tag: 0.1.1
Requires PHP: 5.6.2
License: BSD New License
License URI: https://opensource.org/licenses/BSD-3-Clause
Expand Down Expand Up @@ -75,10 +75,16 @@ Head over to the plug-in's GitHub page (https://github.com/alexboia/LivePayments

== Changelog ==

= 0.1.1 =
Fixed minor usability issues.

= 0.1.0 =
First officially distributed version.

== Upgrade Notice ==

= 0.1.1 =
Updated to version 0.1.1 for improved usability.

= 0.1.0 =
Use this version as the first officially distributed version.
3 changes: 2 additions & 1 deletion lib/MobilpayCreditCardGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ public function show_payment_initiation($orderId) {

$this->logDebug('Successfully constructed payment form data', $context);
} catch (\Exception $exc) {
$data->success = false;
$this->logException('Failed to construct payment form data',
$exc,
$context);
Expand Down Expand Up @@ -1256,7 +1257,7 @@ private function _getPaymentAssetFields() {
$paymentAssetFields = array();
foreach ($this->form_fields as $fieldId => $fieldInfo) {
if ($this->_isPaymentAssetField($fieldInfo)) {
$paymentAssetFields[$fieldId] = &$fieldInfo;
$paymentAssetFields[$fieldId] = $fieldInfo;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lvdwcmc-plugin-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

define('LVD_WCMC_LOADED', true);
define('LVD_WCMC_PLUGIN_ID', 'lvd_wc_mc');
define('LVD_WCMC_VERSION', '0.1.0');
define('LVD_WCMC_VERSION', '0.1.1');
define('LVD_WCMC_HEADER', __FILE__);
define('LVD_WCMC_FUNCTIONS', __DIR__ . DIRECTORY_SEPARATOR . 'lvdwcmc-plugin-functions.php');
define('LVD_WCMC_MAIN', __DIR__ . DIRECTORY_SEPARATOR . 'lvdwcmc-plugin-main.php');
Expand Down
2 changes: 1 addition & 1 deletion lvdwcmc-plugin-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: LivePayments - mobilPay Card WooCommerce Payment Gateway
* Author: Alexandru Boia
* Author URI: http://alexboia.net
* Version: 0.1.0
* Version: 0.1.1
* Description: LivePayments is a Credit & Debit Card WooCommerce Payment Gateway that uses the Romanian mobilPay payment processor.
* License: New BSD License
* Plugin URI: https://github.com/alexboia/LivePayments-MP-WC
Expand Down
2 changes: 1 addition & 1 deletion tests/test-Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function test_canGetVersions() {
$this->assertEquals(get_bloginfo('version', 'raw'), $env->getWpVersion());
$this->assertEquals('5.6.2', $env->getRequiredPhpVersion());
$this->assertEquals('5.0', $env->getRequiredWpVersion());
$this->assertEquals('0.1.0', $env->getVersion());
$this->assertEquals('0.1.1', $env->getVersion());
}

public function test_canGetDbObject() {
Expand Down

0 comments on commit e2c4691

Please sign in to comment.