Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
5b9d9deb47
@ -394,7 +394,8 @@ class Stripe extends CommonObject
|
|||||||
"payment_method_types" => array("card"),
|
"payment_method_types" => array("card"),
|
||||||
"description" => $description,
|
"description" => $description,
|
||||||
"statement_descriptor" => dol_trunc($tag, 10, 'right', 'UTF-8', 1), // 22 chars that appears on bank receipt (company + description)
|
"statement_descriptor" => dol_trunc($tag, 10, 'right', 'UTF-8', 1), // 22 chars that appears on bank receipt (company + description)
|
||||||
//"save_payment_method" => true,
|
"save_payment_method" => true,
|
||||||
|
"setup_future_usage" => "on_session",
|
||||||
"metadata" => $metadata
|
"metadata" => $metadata
|
||||||
);
|
);
|
||||||
if (! is_null($customer)) $dataforintent["customer"]=$customer;
|
if (! is_null($customer)) $dataforintent["customer"]=$customer;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user