Fix length of fields to card saved with setupintent
This commit is contained in:
parent
243e31df2c
commit
64fc735340
@ -36,6 +36,8 @@ UPDATE llx_expensereport set paid = 1 WHERE fk_statut = 6 and paid = 0;
|
||||
|
||||
-- For v11
|
||||
|
||||
ALTER TABLE llx_societe_rib MODIFY label varchar(200);
|
||||
|
||||
insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('USER_SENTBYMAIL','Email sent','Executed when an email is sent from user card','user',300);
|
||||
|
||||
create table llx_entrepot_extrafields
|
||||
|
||||
@ -24,7 +24,7 @@ create table llx_societe_rib
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
type varchar(32) DEFAULT 'ban' NOT NULL, -- 'ban' or 'paypal' or 'card' or 'stripe'
|
||||
label varchar(30),
|
||||
label varchar(200),
|
||||
fk_soc integer NOT NULL,
|
||||
datec datetime,
|
||||
tms timestamp,
|
||||
|
||||
@ -419,7 +419,11 @@ class Stripe extends CommonObject
|
||||
unset($dataforintent['setup_future_usage']);
|
||||
$dataforintent["off_session"] = true;
|
||||
}
|
||||
if (! is_null($payment_method)) $dataforintent["payment_method"] = $payment_method;
|
||||
if (! is_null($payment_method))
|
||||
{
|
||||
$dataforintent["payment_method"] = $payment_method;
|
||||
$description.=' - '.$payment_method;
|
||||
}
|
||||
|
||||
if ($conf->entity!=$conf->global->STRIPECONNECT_PRINCIPAL && $stripefee > 0)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user