Fixing style errors.
This commit is contained in:
parent
4ed44140e7
commit
4bd4719aa6
@ -969,10 +969,10 @@ class Stripe extends CommonObject
|
|||||||
if (!in_array($currency, $arrayzerounitcurrency)) $stripefee = round($fee * 100);
|
if (!in_array($currency, $arrayzerounitcurrency)) $stripefee = round($fee * 100);
|
||||||
else $stripefee = round($fee);
|
else $stripefee = round($fee);
|
||||||
|
|
||||||
$paymentarray = array(
|
$paymentarray = array(
|
||||||
"amount" => "$stripeamount",
|
"amount" => "$stripeamount",
|
||||||
"currency" => "$currency",
|
"currency" => "$currency",
|
||||||
"statement_descriptor_suffix" => dol_trunc($description, 10, 'right', 'UTF-8', 1), // 22 chars that appears on bank receipt (company + description)
|
"statement_descriptor_suffix" => dol_trunc($description, 10, 'right', 'UTF-8', 1), // 22 chars that appears on bank receipt (company + description)
|
||||||
"description" => "Stripe payment: ".$description,
|
"description" => "Stripe payment: ".$description,
|
||||||
"capture" => $capture,
|
"capture" => $capture,
|
||||||
"metadata" => $metadata,
|
"metadata" => $metadata,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user