Fix application_fee_amount
need fix in v10 too
This commit is contained in:
parent
c01ac05aec
commit
3a0c1954d6
@ -403,7 +403,7 @@ class Stripe extends CommonObject
|
|||||||
|
|
||||||
if ($conf->entity!=$conf->global->STRIPECONNECT_PRINCIPAL && $stripefee > 0)
|
if ($conf->entity!=$conf->global->STRIPECONNECT_PRINCIPAL && $stripefee > 0)
|
||||||
{
|
{
|
||||||
$dataforintent["application_fee"] = $stripefee;
|
$dataforintent["application_fee_amount"] = $stripefee;
|
||||||
}
|
}
|
||||||
if ($usethirdpartyemailforreceiptemail && is_object($object) && $object->thirdparty->email)
|
if ($usethirdpartyemailforreceiptemail && is_object($object) && $object->thirdparty->email)
|
||||||
{
|
{
|
||||||
@ -730,7 +730,7 @@ class Stripe extends CommonObject
|
|||||||
);
|
);
|
||||||
if ($conf->entity!=$conf->global->STRIPECONNECT_PRINCIPAL && $stripefee > 0)
|
if ($conf->entity!=$conf->global->STRIPECONNECT_PRINCIPAL && $stripefee > 0)
|
||||||
{
|
{
|
||||||
$paymentarray["application_fee"] = $stripefee;
|
$paymentarray["application_fee_amount"] = $stripefee;
|
||||||
}
|
}
|
||||||
if ($societe->email && $usethirdpartyemailforreceiptemail)
|
if ($societe->email && $usethirdpartyemailforreceiptemail)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user