Commit a3f902af authored by David Weston's avatar David Weston Committed by GitHub

Update stppbilling.php

parent c008cbe9
...@@ -33,7 +33,7 @@ class STPPBilling extends STPPAddressable ...@@ -33,7 +33,7 @@ class STPPBilling extends STPPAddressable
if(empty($this->options["amount"]["currencycode"])) if(empty($this->options["amount"]["currencycode"]))
$this->options["amount"]["currencycode"] = "GBP"; $this->options["amount"]["currencycode"] = "GBP";
$this->options["amount"]["value"] = (integer) ($amount * 100); $this->options["amount"]["value"] = sprintf("%.0f", $amount * 100);
return $this; return $this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment