Skip to content

Commit

Permalink
Fix minor bug in amount.value
Browse files Browse the repository at this point in the history
  • Loading branch information
QualityWorks-Dev authored Oct 23, 2018
1 parent c34ba8e commit 267ba46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/controller/extension/payment/mollie/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function payment()

try {
$data = array(
"amount" => ["currency" => "EUR", "value" => (string)number_format($amount,2)],
"amount" => ["currency" => "EUR", "value" => (string)number_format($amount,2,'.','')],
"description" => $description,
"redirectUrl" => $return_url,
"webhookUrl" => $this->getWebhookUrl(),
Expand Down

0 comments on commit 267ba46

Please sign in to comment.