Which Paypal service do I use?
- StevieC
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 3 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.
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.
- StevieC
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 3 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.
- StevieC
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 3 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?
$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.
- StevieC
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 3 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.
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.
- Saka
- Offline
- Administrator
16 years 3 months ago - 16 years 3 months ago #3110
by Saka
Emir Sakic
www.sakic.net
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.
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
Last Edit: 16 years 3 months ago by Saka.
Please Log in or Create an account to join the conversation.
- StevieC
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 3 months ago #3113
by StevieC
Cheers Saka,
It's looking pretty good now. This is going to help me out a lot. Thanks.
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.