Skip to content

Commit 2954fc9

Browse files
committed
Plugin: BuyCourses: Fix installation process #2562
1 parent d19b398 commit 2954fc9

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

public/plugin/BuyCourses/database.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
$currencyTable->addColumn(
8989
'iso_code',
9090
Types::STRING,
91-
['length' => 3]
91+
['length' => 4]
9292
);
9393
$currencyTable->addColumn('status', Types::BOOLEAN);
9494
$currencyTable->addUniqueIndex(['country_code']);
@@ -666,8 +666,13 @@
666666
Database::insert(
667667
$tpvRedsysTable,
668668
[
669+
'merchantcode' => '',
670+
'terminal' => '',
671+
'currency' => '',
672+
'kc' => '',
669673
'url_redsys' => 'https://sis.redsys.es/sis/realizarPago',
670674
'url_redsys_sandbox' => 'https://sis-t.redsys.es:25443/sis/realizarPago',
675+
'sandbox' => 1,
671676
]
672677
);
673678

@@ -680,13 +685,6 @@
680685
]
681686
);
682687

683-
Database::insert(
684-
$globalTable,
685-
[
686-
'terms_and_conditions' => '',
687-
]
688-
);
689-
690688
Database::insert(
691689
$commissionTable,
692690
[

0 commit comments

Comments
 (0)