Update stripe.class.php

This commit is contained in:
ptibogxiv 2019-07-18 10:05:54 +02:00 committed by GitHub
parent 8a5aad3433
commit 4235f0b352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -392,7 +392,7 @@ class Stripe extends CommonObject
"payment_method_types" => array("card"),
"description" => $description,
"statement_descriptor" => dol_trunc($tag, 10, 'right', 'UTF-8', 1), // 22 chars that appears on bank receipt (company + description)
"setup_future_usage" => "off_session",
"setup_future_usage" => "on_session",
"metadata" => $metadata
);
if (! is_null($customer)) $dataforintent["customer"]=$customer;