Define introduce principal entity
define which entity must be use as principal with no fee and everything else (cf stripe API)
This commit is contained in:
parent
dd9751c9cf
commit
4d34725b23
@ -440,7 +440,7 @@ class Stripe extends CommonObject
|
|||||||
"source" => "$source",
|
"source" => "$source",
|
||||||
"customer" => "$customer"
|
"customer" => "$customer"
|
||||||
);
|
);
|
||||||
if ($conf->entity>1 && $fee>0)
|
if ($conf->entity!=$conf->global->STRIPECONNECT_PRINCIPAL && $fee>0)
|
||||||
{
|
{
|
||||||
$paymentarray["application_fee"] = $fee;
|
$paymentarray["application_fee"] = $fee;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user