26 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
45 $this->numero = 50300;
47 $this->rights_class =
'stripe';
51 $this->family =
"interface";
53 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
55 $this->
description =
"Module to offer an online payment page by credit card with Stripe";
57 $this->version =
'dolibarr';
59 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
63 $this->picto =
'stripe';
66 $this->dirs = array();
69 $this->config_page_url = array(
"stripe.php@stripe");
72 $this->hidden =
false;
73 $this->depends = array();
74 $this->requiredby = array();
75 $this->phpmin = array(5, 4);
76 $this->need_dolibarr_version = array(5, 0);
77 $this->langfiles = array(
"stripe");
80 $this->
const = array();
83 $this->tabs = array();
86 $this->boxes = array();
90 $this->rights = array();
111 $this->menu[$r] = array(
112 'fk_menu'=>
'fk_mainmenu=bank',
114 'titre'=>
'StripeAccount',
116 'leftmenu'=>
'stripe',
120 'enabled' =>
'$conf->stripe->enabled && $conf->banque->enabled && $conf->global->MAIN_FEATURES_LEVEL >= 1',
121 'perms' =>
'$user->rights->banque->lire',
127 $this->menu[$r] = array(
128 'fk_menu' =>
'fk_mainmenu=bank,fk_leftmenu=stripe',
130 'titre' =>
'StripeChargeList',
131 'url' =>
'/stripe/charge.php',
134 'enabled' =>
'$conf->stripe->enabled && $conf->banque->enabled && $conf->global->MAIN_FEATURES_LEVEL >= 1',
135 'perms' =>
'$user->rights->banque->lire',
141 $this->menu[$r] = array(
142 'fk_menu' =>
'fk_mainmenu=bank,fk_leftmenu=stripe',
144 'titre' =>
'StripeTransactionList',
145 'url' =>
'/stripe/transaction.php',
148 'enabled' =>
'$conf->stripe->enabled && $conf->banque->enabled && $conf->global->MAIN_FEATURES_LEVEL >= 1',
149 'perms' =>
'$user->rights->banque->lire',
155 $this->menu[$r] = array(
156 'fk_menu' =>
'fk_mainmenu=bank,fk_leftmenu=stripe',
158 'titre' =>
'StripePayoutList',
159 'url' =>
'/stripe/payout.php',
162 'enabled' =>
'$conf->stripe->enabled && $conf->banque->enabled && $conf->global->MAIN_FEATURES_LEVEL >= 1',
163 'perms' =>
'$user->rights->banque->lire',
Description and activation class for module Paybox.
__construct($db)
Constructor.
</td > param sortfield sortorder printFieldListOption< tdclass="liste_titremaxwidthsearchright"></td ></tr >< trclass="liste_titre">< inputtype="checkbox"onClick="toggle(this)"/> Ref p ref Label p label Duration p duration center DesiredStock p desiredstock right StockLimitShort p seuil_stock_alerte right stock_physique right stock_real_warehouse right Ordered right StockToBuy right SupplierRef right param sortfield sortorder printFieldListTitle warehouseinternal SELECT description FROM product_lang WHERE qty< br > qty qty qty StockTooLow StockTooLow help help help< trclass="oddeven">< td >< inputtype="checkbox"class="check"name="choose'.$i.'"></td >< tdclass="nowrap"> stock</td >< td >< inputtype="hidden"name="desc'.$i.'"value="'.dol_escape_htmltag($objp-> description
Only used if Module[ID]Desc translation string is not found.
$conf db name
Only used if Module[ID]Name translation string is not found.
$conf db
API class for accounts.