mirror of
https://github.com/valitydev/rbkmoney-cms-prestashop.git
synced 2024-11-06 02:45:18 +00:00
parent
1626aaf43a
commit
3dd6d2dc93
@ -55,6 +55,7 @@ class Rbkmoney_PaymentPaymentModuleFrontController extends ModuleFrontController
|
|||||||
];
|
];
|
||||||
$logs = [
|
$logs = [
|
||||||
'request' => $request,
|
'request' => $request,
|
||||||
|
'json' => json_encode($data),
|
||||||
];
|
];
|
||||||
Rbkmoney_Payment::logger("Create invoice - begin", $logs);
|
Rbkmoney_Payment::logger("Create invoice - begin", $logs);
|
||||||
|
|
||||||
@ -154,7 +155,8 @@ class Rbkmoney_PaymentPaymentModuleFrontController extends ModuleFrontController
|
|||||||
|
|
||||||
function prepareAmount($amount)
|
function prepareAmount($amount)
|
||||||
{
|
{
|
||||||
return $amount * 100;
|
$prepareAmount = $amount * 100;
|
||||||
|
return (int)$prepareAmount;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user