Skip to content

Commit d36d327

Browse files
Merge pull request #5 from hugofintecture/1.0.4
1.0.4
2 parents 5201554 + 8e58c9c commit d36d327

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/code/local/Fintecture/Payment/Helper/Stats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class Fintecture_Payment_Helper_Stats extends Mage_Payment_Helper_Data
44
{
5-
const FINTECTURE_PLUGIN_VERSION = '1.0.3';
5+
const FINTECTURE_PLUGIN_VERSION = '1.0.4';
66
const FINTECTURE_STATS_URL = 'https://api.fintecture.com/ext/v1/activity';
77

88
public function logAction($action)

app/code/local/Fintecture/Payment/Helper/Util.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function createPayload($order)
6565
$data = $order->getData();
6666
$address = $order->getBillingAddress()->getData();
6767
$fullname = $data['customer_firstname'] . ' ' . $data['customer_lastname'];
68-
$amount = (string) round($data['grand_total']); // keep only 2 decimals
68+
$amount = (string) round($data['grand_total'], 2); // keep only 2 decimals
6969
$communication = self::FINTECTURE_PAYMENT_PREFIX . $data['increment_id'];
7070

7171
return [

app/code/local/Fintecture/Payment/etc/config.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<config>
33
<modules>
44
<Fintecture_Payment>
5-
<version>1.0.3</version>
5+
<version>1.0.4</version>
66
</Fintecture_Payment>
77
</modules>
88

@@ -97,6 +97,7 @@
9797
<active>1</active>
9898
<model>fintecture_payment/payment</model>
9999
<order_status>pending</order_status>
100+
<title>Fintecture</title>
100101
<payment_action>sale</payment_action>
101102
<allowspecific>0</allowspecific>
102103
</fintecture>

0 commit comments

Comments
 (0)