File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
app/code/local/Fintecture/Payment Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
class Fintecture_Payment_Helper_Stats extends Mage_Payment_Helper_Data
4
4
{
5
- const FINTECTURE_PLUGIN_VERSION = '1.0.3 ' ;
5
+ const FINTECTURE_PLUGIN_VERSION = '1.0.4 ' ;
6
6
const FINTECTURE_STATS_URL = 'https://api.fintecture.com/ext/v1/activity ' ;
7
7
8
8
public function logAction ($ action )
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function createPayload($order)
65
65
$ data = $ order ->getData ();
66
66
$ address = $ order ->getBillingAddress ()->getData ();
67
67
$ 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
69
69
$ communication = self ::FINTECTURE_PAYMENT_PREFIX . $ data ['increment_id ' ];
70
70
71
71
return [
Original file line number Diff line number Diff line change 2
2
<config >
3
3
<modules >
4
4
<Fintecture_Payment >
5
- <version >1.0.3 </version >
5
+ <version >1.0.4 </version >
6
6
</Fintecture_Payment >
7
7
</modules >
8
8
97
97
<active >1</active >
98
98
<model >fintecture_payment/payment</model >
99
99
<order_status >pending</order_status >
100
+ <title >Fintecture</title >
100
101
<payment_action >sale</payment_action >
101
102
<allowspecific >0</allowspecific >
102
103
</fintecture >
You can’t perform that action at this time.
0 commit comments