Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Custom payment method validation error

Featured Replies

Hello, my customers receive an error while processing checkout with CoD. It's strange because custompaymentmmodule works fine until this week. Can someone help?
 

[ThirtyBeesDatabaseException]

Unknown column 'cpmc.id_custom_payment_method' in 'on clause'
 

SELECT DISTINCT cpm.*, cpml.`id_lang`, cpms.`id_shop`,
cpmg.`id_group`,
cpml.`name`, cpml.`description`, cpml.`description_success`, cpml.`description_short`
FROM `tb_custom_payment_method` cpm
LEFT JOIN `tb_custom_payment_method_lang` `cpml` ON cpml.`id_custom_payment_method` = cpm.`id_custom_payment_method` AND cpml.`id_lang` = 2
LEFT JOIN `tb_custom_payment_method_shop` `cpms` ON cpms.`id_custom_payment_method` = cpm.`id_custom_payment_method` AND cpms.`id_shop` = 1
INNER JOIN `tb_custom_payment_method_group` cpmg ON cpmc.`id_custom_payment_method` = cpm.`id_custom_payment_method` AND cpmg.`id_group` IN (3)
WHERE (`active` = 1)


at line 844 in file classes/db/Db.php

 

839.         if ($webserviceCall && $errno) {
840.             $dbg = debug_backtrace();
841.             WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
842.         } elseif (_PS_DEBUG_SQL_ && $errno && !defined('TB_INSTALLATION_IN_PROGRESS')) {
843.             if ($sql) {
844.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
845.             }
846. 
847.             throw new PrestaShopDatabaseException($this->getMsgError());
848.         }
849.     }

Solved by datakick

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.