diff --git a/htdocs/core/modules/modStripe.class.php b/htdocs/core/modules/modStripe.class.php index dc46b886fc4..e5b481f4daa 100644 --- a/htdocs/core/modules/modStripe.class.php +++ b/htdocs/core/modules/modStripe.class.php @@ -113,10 +113,10 @@ class modStripe extends DolibarrModules 'titre'=>'StripeAccount', 'mainmenu'=>'bank', 'leftmenu'=>'stripe', - 'url' => '/stripe/charge.php', + 'url' => '', 'langs' => 'stripe', 'position' => 100, - 'enabled' => '$conf->global->MAIN_FEATURES_LEVEL >= 2', + 'enabled' => '$conf->global->MAIN_FEATURES_LEVEL >= 1', 'perms' => '$user->rights->banque->configurer', 'target' => '', 'user' => 0 diff --git a/htdocs/langs/en_US/stripe.lang b/htdocs/langs/en_US/stripe.lang index 536fb3f940d..607a2b5d5a8 100644 --- a/htdocs/langs/en_US/stripe.lang +++ b/htdocs/langs/en_US/stripe.lang @@ -49,6 +49,7 @@ OAUTH_STRIPE_LIVE_ID=Stripe Connect Client ID (ca_...) BankAccountForBankTransfer=Bank account for fund payouts StripeAccount=Stripe account StripeChargeList=List of Stripe charges +StripeTransactionList=List of Stripe transactions StripeCustomerId=Stripe customer id StripePaymentModes=Stripe payment modes LocalID=Local ID diff --git a/htdocs/stripe/charge.php b/htdocs/stripe/charge.php index 413ed3ec815..9dbef701f29 100644 --- a/htdocs/stripe/charge.php +++ b/htdocs/stripe/charge.php @@ -72,14 +72,14 @@ else } $stripeaccount = $stripe->getStripeAccount($service); -if (empty($stripeaccount)) +/*if (empty($stripeaccount)) { print $langs->trans('ErrorStripeAccountNotDefined'); -} +}*/ -if (!$rowid && $stripeaccount) +if (!$rowid) { - print '