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,
|
'payment_method' => $cgt->token,
|
||||||
'customer' => $cgt->gateway_customer_reference,
|
'customer' => $cgt->gateway_customer_reference,
|
||||||
'confirm' => true,
|
'confirm' => true,
|
||||||
|
// 'off_session' => true,
|
||||||
'description' => $description,
|
'description' => $description,
|
||||||
'metadata' => [
|
'metadata' => [
|
||||||
'payment_hash' => $payment_hash->hash,
|
'payment_hash' => $payment_hash->hash,
|
||||||
|
@ -398,7 +398,7 @@ class StripePaymentDriver extends BaseDriver
|
|||||||
{
|
{
|
||||||
$this->init();
|
$this->init();
|
||||||
|
|
||||||
$params = [];
|
$params = ['usage' => 'off_session'];
|
||||||
$meta = $this->stripe_connect_auth;
|
$meta = $this->stripe_connect_auth;
|
||||||
|
|
||||||
return SetupIntent::create($params, $meta);
|
return SetupIntent::create($params, $meta);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user