From bbff580fb3d152cb9b7583af6907aaa38e6f3461 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sat, 10 Mar 2018 14:45:07 +0100 Subject: [PATCH] integration of fee's platform --- htdocs/stripe/admin/stripe.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/htdocs/stripe/admin/stripe.php b/htdocs/stripe/admin/stripe.php index 91d056aa094..d25831ee264 100644 --- a/htdocs/stripe/admin/stripe.php +++ b/htdocs/stripe/admin/stripe.php @@ -206,8 +206,14 @@ print 'trans("Example").': whsec_xxxxxxxxxxxxxxxxxxxxxxxx'; print ''; } else { -print ''.$langs->trans("StripeConnect").''; -print ''.$langs->trans("StripeConnect_Mode").''; + print ''.$langs->trans("StripeConnect").''; + print ''.$langs->trans("StripeConnect_Mode").'
'; + print $langs->trans("STRIPE_APPLICATION_FEE_PLATFORM"); + print price($conf->global->STRIPE_APPLICATION_FEE_PERCENT); + print '% + '; + print price($conf->global->STRIPE_APPLICATION_FEE); + print $langs->getCurrencySymbol($conf->currency).' avec un minimum de '.price($conf->global->STRIPE_APPLICATION_FEE_MINIMAL).' '.$langs->getCurrencySymbol($conf->currency).' '; + print ''; } if (! empty($conf->banque->enabled)) //deplace here for separate stripe setting of general and common online payment settings