Fix regression: It was not more possible to create payment offline
This commit is contained in:
parent
6306b30499
commit
848b4db509
@ -430,7 +430,8 @@ class Stripe extends CommonObject
|
||||
if ($off_session)
|
||||
{
|
||||
unset($dataforintent['setup_future_usage']);
|
||||
$dataforintent["setup_future_usage"] = "off_session";
|
||||
//$dataforintent["setup_future_usage"] = "off_session";
|
||||
$dataforintent["off_session"] = true;
|
||||
}
|
||||
if (!is_null($payment_method))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user