Re: PHP Fatal error: Undefined constant MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY
I had to add this define statement at the top of the page to make it work.
Re: PHP Fatal error: Undefined constant MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY
This is still an issue in 2.0.
Code:
[21-Apr-2024 21:24:22 America/New_York] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: 111.111.111.111
--> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY" in public_html/includes/modules/payment/paypaldp.php:292
Stack trace:
#0 public_html/admin/modules.php(173): paypaldp->__construct()
#1 public_html/admin/index.php(11): require('...')
#2 {main}
thrown in public_html/includes/modules/payment/paypaldp.php on line 292.
[21-Apr-2024 21:24:22 America/New_York] Request URI: /admin/index.php?cmd=modules&set=payment, IP address: 111.111.111.111
--> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY" in public_html/includes/modules/payment/paypaldp.php:292
Stack trace:
#0 public_html/admin/modules.php(173): paypaldp->__construct()
#1 public_html/admin/index.php(11): require('...')
#2 {main}
thrown in public_html/includes/modules/payment/paypaldp.php on line 292.