Skip to content

Commit 09d0384

Browse files
author
calvinpy
committed
fix get_total_shipping method and release 0.0.6
1 parent 01433fa commit 09d0384

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

HISTORY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## Change Log
22

3-
#### [v0.0.6](https://github.com/aplazame/woocommerce/tree/v0.0.6) (2015-??-??)
3+
#### [v0.0.6](https://github.com/aplazame/woocommerce/tree/v0.0.6) (2015-12-15)
44

55
[Full Changelog v0.0.6](https://github.com/aplazame/woocommerce/compare/v0.0.5...v0.0.6)
66

7-
* ?
7+
* Fix order get_total_shipping method
88

99
#### [v0.0.5](https://github.com/aplazame/woocommerce/tree/v0.0.5) (2015-12-15)
1010

README.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ Of course, simply select an *"Aplazame refund"* in the product detail.
108108

109109
== Changelog ==
110110

111+
#### [v0.0.6] (2015-12-15)
112+
113+
[view on Github](https://github.com/aplazame/woocommerce/tree/v0.0.6)
114+
115+
* Fix order get_total_shipping method
116+
111117
#### [v0.0.5] (2015-12-15)
112118

113119
[view on Github](https://github.com/aplazame/woocommerce/tree/v0.0.5)

aplazame.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* Plugin Name: Aplazame
44
* Plugin URI: https://github.com/aplazame/woocommerce
5-
* Version: 0.0.5
5+
* Version: 0.0.6
66
* Description: Aplazame offers a payment method to receive funding for the purchases.
77
* Author: calvin
88
*
@@ -17,7 +17,7 @@
1717

1818
class WC_Aplazame
1919
{
20-
const VERSION = '0.0.5';
20+
const VERSION = '0.0.6';
2121
const METHOD_ID = 'aplazame';
2222
const METHOD_TITLE = 'Aplazame';
2323

classes/sdk/Serializers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function get_address($order, $type)
9696

9797
public function get_shipping_info($order)
9898
{
99-
$total = get_total_shipping();
99+
$total = $order->get_total_shipping();
100100

101101
if ($total) {
102102
$tax_rate = 100 * $order->order_shipping_tax / $total;

l10n/es/default.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#, fuzzy
77
msgid ""
88
msgstr ""
9-
"Project-Id-Version: Aplazame v0.0.5\n"
9+
"Project-Id-Version: Aplazame v0.0.6\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2015-09-12 01:59+0200\n"
1212
"PO-Revision-Date: 2015-09-25 00:00+0200\n"

0 commit comments

Comments
 (0)