Fix application_fee name stripe.class.php
stripe changes name without change API :/ application_fee_amount for amount application_fee for %
This commit is contained in:
parent
a46bfc7a29
commit
e464e2e1b8
@ -404,7 +404,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)
|
||||||
{
|
{
|
||||||
@ -731,7 +731,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