Page 1 of 1
Getting Started with Paypal
Posted: Sat Mar 12, 2022 11:03 am
by Chris
Hi - hoping someone can help me getting started with Phoenix and Paypal in particular please. Apologies if this is covered elsewhere - searching the forum did reveal various issues with error codes but symptoms that I have were not described.
Issue - From the main menu Paypal > Start shows a largely blank screen with a paypal logo on the left and an unresponsive panel 'Retrieve API Credentials' (screenshot below). In the help file I understand this screen should show two panels for retrieving or managing credentials - so it seems its not rendering completely. I can't see any error message but perhaps I should be looking elsewhere. I've tried using Edge and Chrome with same result.
Info
Version: 1.0.8.12
Install: This is a fresh install via Softaculous for the purpose of evaluation. Still has just the default demo products based on fruit.
PHP: Version 7.3.33 Database MySQL 10.3.34-MariaDB
Addons: None. All I did to config so far was add shipping and payment modules. I added Table Rate, Check/Money order and Paypal Express.
Custom: None.
paypal.png
Thanks in advance.
Re: Getting Started with Paypal
Posted: Sat Mar 12, 2022 1:02 pm
by heatherbell
Chris wrote: ↑Sat Mar 12, 2022 11:03 am
Hi - hoping someone can help me getting started with Phoenix and Paypal in particular please.
Paypal did break in v1.0.8.12.
Have you applied the fix here
viewtopic.php?p=8490#p8490
If possible it might be better for you to use v1.0.8.11
https://github.com/CE-PhoenixCart/Phoen ... 0.8.11.zip
Re: Getting Started with Paypal
Posted: Sat Mar 12, 2022 1:32 pm
by Chris
heatherbell wrote: ↑Sat Mar 12, 2022 1:02 pm
Paypal did break in v1.0.8.12.
...
Ah - ok - that wouldn't help. Yes maybe I'll just try with an older version for now.
Thanks
Re: Getting Started with Paypal
Posted: Sat Mar 12, 2022 1:46 pm
by heatherbell
Chris wrote: ↑Sat Mar 12, 2022 1:32 pm
Ah - ok - that wouldn't help. Yes maybe I'll just try with an older version for now.
That might be easier than applying the fixes.
Beware that Paypal Express seems to have issues for some whilst Paypal Payments Standard behaves well for most.
Re: Getting Started with Paypal
Posted: Sat Mar 12, 2022 11:40 pm
by Chris
OK - its not gone very well.
So I tried following the manual installation instructions for 1.0.8.11 but it gets stuck on the "The database structure is now being imported. Please be patient during this procedure." part. its been tens of minutes whereas Softaculous took seconds.
I did go back to .12 installation and did the change to " $connection_test_url = $GLOBALS['Admin']->link('paypal.php', ['action' => 'ssltest']);" but that hasn't helped.
Would it be feasible to keep the .12 installation and copy over paypal modules from .11 ? If so which files would be needed?
Re: Getting Started with Paypal
Posted: Sun Mar 13, 2022 8:17 am
by heatherbell
Chris wrote: ↑Sat Mar 12, 2022 11:40 pm
I did go back to .12 installation and did the change to " $connection_test_url = $GLOBALS['Admin']->link('paypal.php', ['action' => 'ssltest']);" but that hasn't helped.
First up, that does not look like the file that was fixed in the link I posted.
/catalog/includes/apps/paypal/admin/content/start.php
Change Line 21
from
Code: Select all
<?= $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'))) ?>
to
Code: Select all
<?= $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['Admin']->link('paypal.php', ['action' => 'start', 'subaction' => 'process', 'type' => 'sandbox']), 'info'))) ?>
Re: Getting Started with Paypal
Posted: Sun Mar 13, 2022 10:11 am
by Chris
Ah - I couldn't see that part. I'll try that. Do I still need the other change as well?
Re: Getting Started with Paypal
Posted: Sun Mar 13, 2022 1:16 pm
by heatherbell
Chris wrote: ↑Sun Mar 13, 2022 10:11 am
Do I still need the other change as well?
Yes, presuming you have made that change to /includes/apps/paypal/cfg_params/ssl_version.php Line 59
Re: Getting Started with Paypal
Posted: Sun Mar 13, 2022 5:01 pm
by tedukes
Might ask, what version of php and mysql/mariadb you are using?
Re: Getting Started with Paypal
Posted: Sun Mar 13, 2022 8:54 pm
by Chris
tedukes wrote: ↑Sun Mar 13, 2022 5:01 pm
Might ask, what version of php and mysql/mariadb you are using?
Hi - please see original post.
The start page is now rendering so I should be able to move on.
Thanks again.