Revert "add capture option in payment function"
This reverts commit 849b7154a7.
This commit is contained in:
parent
23096354e0
commit
72f359fdc7
@ -326,7 +326,7 @@ class Stripe extends CommonObject
|
|||||||
* @param int $usethirdpartyemailforreceiptemail Use thirdparty email as receipt email
|
* @param int $usethirdpartyemailforreceiptemail Use thirdparty email as receipt email
|
||||||
* @return Stripe
|
* @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;
|
global $conf;
|
||||||
|
|
||||||
@ -406,7 +406,6 @@ class Stripe extends CommonObject
|
|||||||
"currency" => "$currency",
|
"currency" => "$currency",
|
||||||
// "statement_descriptor" => " ",
|
// "statement_descriptor" => " ",
|
||||||
"description" => "$description",
|
"description" => "$description",
|
||||||
"capture" => $capture,
|
|
||||||
"metadata" => $metadata,
|
"metadata" => $metadata,
|
||||||
"source" => "$source",
|
"source" => "$source",
|
||||||
"customer" => "$customer"
|
"customer" => "$customer"
|
||||||
@ -431,7 +430,6 @@ class Stripe extends CommonObject
|
|||||||
"currency" => "$currency",
|
"currency" => "$currency",
|
||||||
// "statement_descriptor" => " ",
|
// "statement_descriptor" => " ",
|
||||||
"description" => "$description",
|
"description" => "$description",
|
||||||
"capture" => $capture,
|
|
||||||
"metadata" => $metadata,
|
"metadata" => $metadata,
|
||||||
"source" => "$source",
|
"source" => "$source",
|
||||||
"customer" => "$customer",
|
"customer" => "$customer",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user