Author Topic: Which Paypal service do I use?  (Read 8167 times)

StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Which Paypal service do I use?
« on: 01 August 2008, 12:51 »
I've installed Vodes with my Joomla 1.5 (legacy mode) and it looks good. I've tried to test it in sandbox mode but it still redirects to Paypal and I get an error message about invalid email address. Do I still need to sign up for a merchant account with Paypal to use the sandbox mode? Which Paypal merchant srvice do I sign up for?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: Which Paypal service do I use?
« Reply #1 on: 01 August 2008, 15:47 »
http://developer.paypal.com/

Note that Vodes is not tested with Joomla 1.5.

StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Which Paypal service do I use?
« Reply #2 on: 01 August 2008, 16:16 »
Thanks Saka.

Quote
Note that Vodes is not tested with Joomla 1.5


Yes. I just need it so much I thought I'd see how it goes. I think it's fine .... so far  :)

StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Which Paypal service do I use?
« Reply #3 on: 01 August 2008, 16:55 »
Hi Saka,
   I've created a sandbox account. Set up a merchant test account. Paypal's given me an email address for this acount which I've entered into the Vodes config and set sandbox to on.

When I try to buy Vodes I keep getting this message from Paypal. Any ideas what I need to do?


We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: Which Paypal service do I use?
« Reply #4 on: 02 August 2008, 11:23 »
Hmm, no, I have no idea. If you did everything right it should work as I tested it with Sandbox. Then again, it was long time ago, it's possible that PayPal changed something or that there is some conflict in Joomla 1.5. I really can't tell without testing.

StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Which Paypal service do I use?
« Reply #5 on: 03 August 2008, 02:18 »
Fair enough. I don't think it's the fault of Vodes. I suspect I need to give paypal cc and bank details even though I'm only testing at present.

I'll get back to you after I try that.

Cheers.

StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Which Paypal service do I use?
« Reply #6 on: 04 August 2008, 00:40 »
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.


StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Which Paypal service do I use?
« Reply #7 on: 04 August 2008, 00:49 »
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.

StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Which Paypal service do I use?
« Reply #8 on: 04 August 2008, 01:13 »
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?



StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Which Paypal service do I use?
« Reply #9 on: 04 August 2008, 01:32 »
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.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: Which Paypal service do I use?
« Reply #10 on: 04 August 2008, 10:53 »
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.
« Last Edit: 05 August 2008, 09:37 by Saka »

StevieC

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Which Paypal service do I use?
« Reply #11 on: 04 August 2008, 14:26 »
Cheers Saka,
   It's looking pretty good now. This is going to help me out a lot. Thanks.