On a fresh prestashop installation 8.1.5 with mollie 6.1.0 installed and iDEAL is active. The ideal bank list on checkout is empty.
SELECT * FROM `ps_mol_payment_method_issuer`
0 results.
This commit fixes the ps_mol_payment_method_issuer table being filled when mollie module settings are saved.
To reproduce the issue for mollie v6.1.0:
empty table with: TRUNCATE ps_mol_payment_method_issuer (if table is not empty when upgrading)
save mollie settings from module
SELECT * FROM ps_mol_payment_method_issuer
what results in 0 results, no ideal bank issuers information is available.
After adding 'include' => 'issuers' to
$apiMethods = $api->methods->allAvailable(['locale' => '', 'include' => 'issuers']);
will fix it, and table is being filled with ideal issuers data for iDEAL.
Module version 6.0.5 does work! But also contains:
$apiMethods = $api->methods->allActive(['resource' => 'orders', 'include' => 'issuers', 'includeWallets' => 'applepay']);link to ApiService.php:120
We dont use applepay so can't test that, probably have to add that one too.
On a fresh prestashop installation 8.1.5 with mollie 6.1.0 installed and iDEAL is active. The ideal bank list on checkout is empty.
This commit fixes the
ps_mol_payment_method_issuer
table being filled when mollie module settings are saved.To reproduce the issue for mollie v6.1.0:
TRUNCATE ps_mol_payment_method_issuer
(if table is not empty when upgrading)ps_mol_payment_method_issuer
After adding
'include' => 'issuers'
to$apiMethods = $api->methods->allAvailable(['locale' => '', 'include' => 'issuers']);
will fix it, and table is being filled with ideal issuers data for iDEAL.Module version 6.0.5 does work! But also contains:
$apiMethods = $api->methods->allActive(['resource' => 'orders', 'include' => 'issuers', 'includeWallets' => 'applepay']);
link to ApiService.php:120 We dont use applepay so can't test that, probably have to add that one too.