Getting Started with Paypal
-
Chris
Getting Started with Paypal
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. Thanks in advance.
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. Thanks in advance.
You do not have the required permissions to view the files attached to this post.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Getting Started with Paypal
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
-
Chris
Re: Getting Started with Paypal
Ah - ok - that wouldn't help. Yes maybe I'll just try with an older version for now.
Thanks
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Getting Started with Paypal
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.
-
Chris
Re: Getting Started with Paypal
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?
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?
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Getting Started with Paypal
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'))) ?>
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'))) ?>
-
Chris
Re: Getting Started with Paypal
Ah - I couldn't see that part. I'll try that. Do I still need the other change as well?
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Getting Started with Paypal
Yes, presuming you have made that change to /includes/apps/paypal/cfg_params/ssl_version.php Line 59
-
Chris
Re: Getting Started with Paypal
Hi - please see original post.
The start page is now rendering so I should be able to move on.
Thanks again.