Fix: It was no more possible to create paymentintent for offline payment
This commit is contained in:
parent
1a52eb5ffa
commit
62622a2065
@ -431,7 +431,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