Merge pull request #11565 from ptibogxiv/patch-199
Fix application_fee name stripe.class.php
This commit is contained in:
commit
cd07596b27
@ -405,7 +405,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)
|
||||||
{
|
{
|
||||||
@ -732,7 +732,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