Skip to content

Commit

Permalink
Release 1.2.0
Browse files Browse the repository at this point in the history
* Adds optional support for Bitcoin payments.
* Use actual WooCommerce order numbers.
  • Loading branch information
Rick Wong committed May 16, 2014
1 parent 64bbb69 commit af96f76
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MPM/mpm.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: MPM - Mollie Payment Module
* Plugin URI: https://github.com/Mollie/WooCommerce/releases
* Version: 1.1.4
* Version: 1.2.0
* Description: Integration of the Mollie API for WooCommerce
* Author: Mollie
* Author URI: https://www.mollie.nl
Expand Down
4 changes: 2 additions & 2 deletions MPM/mpm_gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function process_payment($order_id)

$data = array(
"amount" => $order->get_total(),
"description" => str_replace('%', $order_id, $mpm->get_option('description', 'Order %')),
"description" => str_replace('%', $order->get_order_number(), $mpm->get_option('description', 'Order %')),
"redirectUrl" => $mpm->return->get_return_link() . '&order='.$order_id.'&key='.$order->order_key,
"method" => $this->id,
"issuer" => empty($_POST["mpm_issuer_" . $this->id]) ? null : $_POST["mpm_issuer_" . $this->id],
Expand Down Expand Up @@ -208,4 +208,4 @@ public function process_payment($order_id)
'redirect' => $payment->getPaymentUrl(),
);
}
}
}
2 changes: 1 addition & 1 deletion MPM/mpm_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class MPM_Settings extends WC_Settings_API
/** @var $return MPM_return|null */
public $return = null;

public $plugin_version = '1.1.4';
public $plugin_version = '1.2.0';
public $update_url = 'https://github.com/mollie/WooCommerce';

public function __construct()
Expand Down

0 comments on commit af96f76

Please sign in to comment.