46 $this->numero = 50300;
48 $this->rights_class =
'stripe';
52 $this->family =
"interface";
54 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
56 $this->
description =
"Module to offer an online payment page by credit card with Stripe";
60 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
64 $this->picto =
'stripe';
67 $this->dirs = array();
70 $this->config_page_url = array(
"stripe.php@stripe");
73 $this->hidden =
false;
74 $this->depends = array();
75 $this->requiredby = array();
76 $this->phpmin = array(7, 0);
77 $this->need_dolibarr_version = array(5, 0);
78 $this->langfiles = array(
"stripe");
81 $this->
const = array();
84 $this->tabs = array();
87 $this->boxes = array();
91 $this->rights = array();
112 $this->menu[$r] = array(
113 'fk_menu' =>
'fk_mainmenu=bank',
115 'titre' =>
'StripeAccount',
116 'prefix' => img_picto(
'', $this->picto,
'class="paddingright pictofixedwidth"'),
117 'mainmenu' =>
'bank',
118 'leftmenu' =>
'stripe',
122 'enabled' =>
'isModEnabled("stripe") && isModEnabled("bank")',
123 'perms' =>
'$user->hasRight("banque", "read")',
129 $this->menu[$r] = array(
130 'fk_menu' =>
'fk_mainmenu=bank,fk_leftmenu=stripe',
132 'titre' =>
'StripeChargeList',
133 'url' =>
'/stripe/charge.php',
136 'enabled' =>
'isModEnabled("stripe") && isModEnabled("bank") && getDolGlobalInt("MAIN_FEATURES_LEVEL") >= 1',
137 'perms' =>
'$user->hasRight("banque", "read")',
143 $this->menu[$r] = array(
144 'fk_menu' =>
'fk_mainmenu=bank,fk_leftmenu=stripe',
146 'titre' =>
'StripeTransactionList',
147 'url' =>
'/stripe/transaction.php',
150 'enabled' =>
'isModEnabled("stripe") && isModEnabled("bank") && getDolGlobalInt("MAIN_FEATURES_LEVEL") >= 2',
151 'perms' =>
'$user->hasRight("banque", "read")',
157 $this->menu[$r] = array(
158 'fk_menu' =>
'fk_mainmenu=bank,fk_leftmenu=stripe',
160 'titre' =>
'StripePayoutList',
161 'url' =>
'/stripe/payout.php',
164 'enabled' =>
'isModEnabled("stripe") && isModEnabled("bank")',
165 'perms' =>
'$user->hasRight("banque", "read")',