Page 1 of 6
1.0.8.12 Questions / Comments / Concerns
Posted: Tue Mar 01, 2022 6:43 am
by ecartz
Update instructions (from 1.0.8.11):
https://github.com/CE-PhoenixCart/Updat ... /README.md
Update zip:
https://github.com/CE-PhoenixCart/Updat ... update.zip
Release:
https://github.com/CE-PhoenixCart/Phoen ... /v1.0.8.12
This is the 1.0.8.12 release, in the 1.0.8.* series. Primary changes:
1. Modernize PayPal App
This release only changes the PayPal App, as the PayPal App alone has enough files for a release. This updates from the old functions to the new class methods so that the PayPal App should continue to work in the 1.0.9.* series after the legacy functions are removed.
The next release will remove legacy files. Some are no longer used. Others will move out of core and into apps that can be installed separately. Subsequent releases will focus on updating admin to use the new class methods. The 1.0.8.* series will be finished when all references to the legacy functions are removed everywhere but the admin/includes/application_top.php file and the system hooks. In the 1.0.9.0 release, the legacy functions will still be available but no longer used in core. The 1.0.9.* series will remove the legacy functions entirely so that they are no longer available.
Re: 1.0.8.12 Questions / Comments / Concerns
Posted: Wed Mar 02, 2022 11:37 am
by artfulweb
Hi Matt,
Thanks for the update.
In admin=>Paypal =>Start the following errors occur:
PHP Notice: Undefined index: Linker in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
PHP Fatal error: Uncaught Error: Call to a member function build() on null in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php:21
Stack trace:
#0 /xx/xx/xx/xx/catalog/admin/paypal.php(186): include()
#1 {main}
thrown in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
Line 21 is:
<?= $OSCOM_PayPal->getDef('onboarding_intro_body', array('button_retrieve_live_credentials' => $OSCOM_PayPal->drawButton($OSCOM_PayPal->getDef('button_retrieve_live_credentials'), $GLOBALS['Admin']->link('paypal.php', ['action' => 'start', 'subaction' => 'process', 'type' => 'live']), 'info'), 'button_retrieve_sandbox_credentials' => $OSCOM_PayPal->drawButton($OSCOM_PayPal->getDef('button_retrieve_sandbox_credentials'), $GLOBALS['Linker']->build('paypal.php', ['action' => 'start', 'subaction' => 'process', 'type' => 'sandbox']), 'info'))) ?>
Re: 1.0.8.12 Questions / Comments / Concerns
Posted: Wed Mar 02, 2022 12:29 pm
by ecartz
artfulweb wrote: ↑Wed Mar 02, 2022 11:37 am
PHP Notice: Undefined index: Linker in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
PHP Fatal error: Uncaught Error: Call to a member function build() on null in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php:21
TY. Change $GLOBALS['Linker']->build to $GLOBALS['Admin']->link as it is earlier in the line.
Re: 1.0.8.12 Questions / Comments / Concerns
Posted: Wed Mar 02, 2022 1:13 pm
by artfulweb
ecartz wrote: ↑Wed Mar 02, 2022 12:29 pm
artfulweb wrote: ↑Wed Mar 02, 2022 11:37 am
PHP Notice: Undefined index: Linker in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php on line 21
PHP Fatal error: Uncaught Error: Call to a member function build() on null in /xx/xx/xx/xx/catalog/includes/apps/paypal/admin/content/start.php:21
TY. Change $GLOBALS['Linker']->build to $GLOBALS['Admin']->link as it is earlier in the line.
Thanks, Matt, that works.
On the other hand on clicking on "Retreive Live Credentials" the page refreshes and says "Could not initiate the start account procedure. Please try again in a short while." Is that normal?
Re: 1.0.8.12 Questions / Comments / Concerns
Posted: Thu Mar 03, 2022 1:06 pm
by mhsuffolk
artfulweb wrote: ↑Wed Mar 02, 2022 1:13 pm
On the other hand on clicking on "Retreive Live Credentials" the page refreshes and says "Could not initiate the start account procedure. Please try again in a short while." Is that normal?
I think others have had that problem with later versions of the PP app. I believe the answer was copy paste manually from your PP account.
Paypal Setup
Posted: Thu Mar 03, 2022 5:23 pm
by bathurst
I'm a complete newby to Phoenix & am trying to set CEPhoenix on my new website. However, every time I try to access the "General" tab I get this:
Notice: Undefined index: Linker in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php on line 59
Fatal error: Uncaught Error: Call to a member function build() on null in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php:59 Stack trace: #0 /home/iptv/public_html/CEphoenix/includes/apps/paypal/OSCOM_PayPal.php(342): OSCOM_PayPal_Cfg_ssl_version->getSetField() #1 /home/iptv/public_html/CEphoenix/includes/apps/paypal/admin/content/configure.php(61): OSCOM_PayPal->getInputParameters('G') #2 /home/iptv/public_html/CEphoenix/admin/paypal.php(186): include('/home/iptv/publ...') #3 {main} thrown in /home/iptv/public_html/CEphoenix/includes/apps/paypal/cfg_params/ssl_version.php on line 59
This is a brand new installation any help would be appreciated.
Re: Paypal Setup
Posted: Fri Mar 04, 2022 7:44 am
by heatherbell
bathurst wrote: ↑Thu Mar 03, 2022 9:44 pm
Happens every time I try to access the general tab on Paypal module
In your /includes/apps/paypal/cfg_params/ssl_version.php
Change Line 59
from
Code: Select all
$connection_test_url = $GLOBALS['Linker']->build('paypal.php', ['action' => 'ssltest']);
to
Code: Select all
$connection_test_url = $GLOBALS['Admin']->link('paypal.php', ['action' => 'ssltest']);
Re: 1.0.8.12 Questions / Comments / Concerns
Posted: Fri Mar 04, 2022 10:59 am
by philpla
thx for the update
in admin backend if i click paypal -> configure (/xx/paypal.php?action=configure&module=G) i see the following error:
Code: Select all
PHP Warning: include(/XXX/includes/apps/paypal/modules/G/G.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /XXX/includes/apps/paypal/OSCOM_PayPal.php on line 159, referer: https://shop.artyle.de/xx/paypal.php?action=configure
PHP Fatal error: Uncaught Error: Class 'OSCOM_PayPal_G' not found in /XXX/shop_artyle/includes/apps/paypal/OSCOM_PayPal.php:162, referer: https://shop.artyle.de/xx/paypal.php?action=configure
Stack trace:, referer: https://shop.artyle.de/xx/paypal.php?action=configure
#0 /XXX/includes/apps/paypal/xx/content/configure.php(112): OSCOM_PayPal->getModuleInfo('G', 'title'), referer: https://shop.artyle.de/xx/paypal.php?action=configure
#1 /XXX/xx/paypal.php(186): include('/var/customers/...'), referer: https://shop.artyle.de/xx/paypal.php?action=configure
#2 {main}, referer: https://shop.artyle.de/xx/paypal.php?action=configure
thrown in /XXX/includes/apps/paypal/OSCOM_PayPal.php on line 162, referer: https://shop.artyle.de/xx/paypal.php?action=configure
thx for helping
Re: 1.0.8.12 Questions / Comments / Concerns
Posted: Fri Mar 04, 2022 11:25 am
by ecartz
You could try changing 156-7 to
Code: Select all
if ( !class_exists($class) ) {
if (!file_exists(DIR_FS_CATALOG . "includes/apps/paypal/modules/$module/$module.php")) {
return;
}
$this->loadLanguageFile("modules/$module/$module.php");
Re: 1.0.8.12 Questions / Comments / Concerns
Posted: Fri Mar 04, 2022 12:15 pm
by heatherbell
philpla wrote: ↑Fri Mar 04, 2022 10:59 am
thx for helping
Change the name of your admin folder to something more secure!