for pikpay send only integer num

This commit is contained in:
Adam
2016-01-22 16:23:58 +01:00
parent 63b2506872
commit 10b3109771

View File

@@ -12,7 +12,7 @@ var sha1 = require('sha1');
var PikpayButton = React.createClass({
render: function() {
var total = this.props.amount + this.props.deliveryCost;
total = total * 100;
total = total.toFixed(2) * 100;
var order_info = "Info";
var order_number = this.props.cartId;
var key = Globals.PikpayKey;