diff --git a/htdocs/stripe/class/stripe.class.php b/htdocs/stripe/class/stripe.class.php index 1b99bb22e14..b8472d0b821 100644 --- a/htdocs/stripe/class/stripe.class.php +++ b/htdocs/stripe/class/stripe.class.php @@ -326,7 +326,7 @@ class Stripe extends CommonObject * @param int $usethirdpartyemailforreceiptemail Use thirdparty email as receipt email * @return Stripe */ - public function createPaymentStripe($amount, $currency, $origin, $item, $source, $customer, $account, $status=0, $usethirdpartyemailforreceiptemail=0, $capture=true) + public function createPaymentStripe($amount, $currency, $origin, $item, $source, $customer, $account, $status=0, $usethirdpartyemailforreceiptemail=0) { global $conf; @@ -406,7 +406,6 @@ class Stripe extends CommonObject "currency" => "$currency", // "statement_descriptor" => " ", "description" => "$description", - "capture" => $capture, "metadata" => $metadata, "source" => "$source", "customer" => "$customer" @@ -431,7 +430,6 @@ class Stripe extends CommonObject "currency" => "$currency", // "statement_descriptor" => " ", "description" => "$description", - "capture" => $capture, "metadata" => $metadata, "source" => "$source", "customer" => "$customer",