Also the following log warning
Code:
[20-Jan-2023 05:51:45 America/New_York] Request URI: /new/index.php?main_page=checkout_process, IP address: 134.215.175.155
#1 paypaldp->__construct() called at [/home/xxx/public_html/new/includes/classes/payment.php:102]
#2 payment->__construct() called at [/home/xxx/public_html/new/includes/modules/checkout_process.php:45]
#3 require(/home/xxx/public_html/new/includes/modules/checkout_process.php) called at [/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php:13]
#4 require(/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php) called at [/home/xxx/public_html/new/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/new/includes/modules/payment/paypaldp.php on line 282.
[20-Jan-2023 05:51:45 America/New_York] Request URI: /new/index.php?main_page=checkout_process, IP address: 134.215.175.155
#1 paypaldp->__construct() called at [/home/xxx/public_html/new/includes/classes/payment.php:102]
#2 payment->__construct() called at [/home/xxx/public_html/new/includes/modules/checkout_process.php:45]
#3 require(/home/xxx/public_html/new/includes/modules/checkout_process.php) called at [/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php:13]
#4 require(/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php) called at [/home/xxx/public_html/new/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/new/includes/modules/payment/paypaldp.php on line 283.
[20-Jan-2023 05:51:45 America/New_York] Request URI: /new/index.php?main_page=checkout_process, IP address: 134.215.175.155
#1 paypaldp->zcLog() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:1855]
#2 paypaldp->getLineItemDetails() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:744]
#3 paypaldp->before_process() called at [/home/xxx/public_html/new/includes/classes/payment.php:288]
#4 payment->before_process() called at [/home/xxx/public_html/new/includes/modules/checkout_process.php:98]
#5 require(/home/xxx/public_html/new/includes/modules/checkout_process.php) called at [/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php:13]
#6 require(/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php) called at [/home/xxx/public_html/new/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/new/includes/modules/payment/paypaldp.php on line 1266.
[20-Jan-2023 05:51:45 America/New_York] Request URI: /new/index.php?main_page=checkout_process, IP address: 134.215.175.155
#1 paypaldp->_doDebug() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:1276]
#2 paypaldp->zcLog() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:1855]
#3 paypaldp->getLineItemDetails() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:744]
#4 paypaldp->before_process() called at [/home/xxx/public_html/new/includes/classes/payment.php:288]
#5 payment->before_process() called at [/home/xxx/public_html/new/includes/modules/checkout_process.php:98]
#6 require(/home/xxx/public_html/new/includes/modules/checkout_process.php) called at [/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php:13]
#7 require(/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php) called at [/home/xxx/public_html/new/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/new/includes/modules/payment/paypaldp.php on line 1282.
Also when I install or uninstall pro I get a database error.
Code:
[20-Jan-2023 05:28:25 America/New_York] Request URI: /new/xxx/index.php?cmd=modules&set=payment&action=install, IP address: 134.215.175.155
#1 trigger_error() called at [/home/xxx/public_html/new/includes/classes/db/mysql/query_factory.php:667]
#2 queryFactory->show_error() called at [/home/xxx/public_html/new/includes/classes/db/mysql/query_factory.php:634]
#3 queryFactory->set_error() called at [/home/xxx/public_html/new/includes/classes/db/mysql/query_factory.php:275]
#4 queryFactory->Execute() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:1218]
#5 paypaldp->install() called at [/home/xxx/public_html/new/xxx/modules.php:109]
#6 require(/home/xxx/public_html/new/xxx/modules.php) called at [/home/xxx/public_html/new/xxx/index.php:11]
--> PHP Fatal error: 1062:Duplicate entry 'MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY' for key 'unq_config_key_zen' :: INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Merchant Country', 'MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY', 'USA', 'Which country is your PayPal Account registered to? <br /><u>Choices:</u><br /><font color=green>You will need to supply <strong>API Settings</strong> in the Express Checkout module.</font><br /><strong>USA and Canada merchants</strong> need PayPal API credentials and a PayPal Payments Pro account.<br /><strong>UK merchants</strong> need to supply <strong>PAYFLOW settings</strong> (and have a Payflow account)<br><strong>Australia merchants</strong> choose Canada<br><em>(This setting is really about the internal PayPal API specification, and not so much about country: US=1.5, UK=2.0, Canada/Australia=3.0)</em>', '6', '25', 'zen_cfg_select_option(array(\'USA\', \'UK\', \'Canada\'), ', now()) ==> (as called by) /home/home4newxxx/public_html/new/includes/modules/payment/paypaldp.php on line 1218 <== in /home/xxx/public_html/new/includes/classes/db/mysql/query_factory.php on line 667.
Bookmarks