Which Paypal service do I use?

15 years 8 months ago #3106 by StevieC
vodes.html.php wasn't picking up $vode_config until I put 'global $vode_config;' at the top of the file before 'class HTML_vodes {'.

Strange that this is presumably working with Joomla 1.0?

So I got it to go to paypal.sandbox this time, paid and returned. Vodes said everything had gone okay but my total vodes for some reason remained at zero (?)

Looking into it.

Please Log in or Create an account to join the conversation.

15 years 8 months ago #3107 by StevieC
btw. I'm not sure if it's mentioned anywhere already but log.txt has to be set 'writeable' before anything is written to it.

Please Log in or Create an account to join the conversation.

15 years 8 months ago #3108 by StevieC
It looks as though when getting back from Paypal this is called:
$fp = fsockopen (' www.sandbox.paypal.com ', 80, $errno, $errstr, 30);

but when $fp is tested:
if (!$fp)
{
// HTTP ERROR
} else ......

it's failing. If I change the call to:
  $fp = fsockopen (' www.paypal.com ',  80, $errno, $errstr, 30);

then the $fp is okay but it doesn'r get a 'VERIFIED' later on.


Any ideas?


Please Log in or Create an account to join the conversation.

15 years 8 months ago #3109 by StevieC
Found it!

Did a search and someone else had changed their fsockopen call to:
$fp = fsockopen ('ssl://www.sandbox.paypal.com', 443, $errno, $errstr, 30);

I tried that and it worked.
Once again, I'm confused as to how it is (was?) working with Joomla 1.0. These don't appear to be Joomla 1.0/1.5 incompatibility issues.

Please Log in or Create an account to join the conversation.

15 years 8 months ago - 15 years 8 months ago #3110 by Saka
global issue is definately 1.5 issue.
www.sandbox.paypal.com used to work fine, but as I said, it might be some changes by PayPal or something. Good you found the solution.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

15 years 8 months ago #3113 by StevieC
Cheers Saka,
  It's looking pretty good now. This is going to help me out a lot. Thanks.

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch