mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Minor changes for setup intents
This commit is contained in:
parent
9838131a37
commit
f622b3786a
@ -78,6 +78,7 @@ class Charge
|
||||
'payment_method' => $cgt->token,
|
||||
'customer' => $cgt->gateway_customer_reference,
|
||||
'confirm' => true,
|
||||
// 'off_session' => true,
|
||||
'description' => $description,
|
||||
'metadata' => [
|
||||
'payment_hash' => $payment_hash->hash,
|
||||
|
@ -398,7 +398,7 @@ class StripePaymentDriver extends BaseDriver
|
||||
{
|
||||
$this->init();
|
||||
|
||||
$params = [];
|
||||
$params = ['usage' => 'off_session'];
|
||||
$meta = $this->stripe_connect_auth;
|
||||
|
||||
return SetupIntent::create($params, $meta);
|
||||
|
Loading…
x
Reference in New Issue
Block a user