Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal Pro and PEAR


Hawkwind

Recommended Posts

Hi,

 

I'm attempting to use osCommerce shopping cart to process credit card payments via PayPal WebSite Payment Pro. From Paypal's site, I downloaded the installation files.

 

Looks like I have everything up and running (API passwords etc) and I can do a straight PayPal payment no problem. However, when attempting to do a Credit Card payment, I get the following error.

 

Warning: main(PEAR.php): failed to open stream: No such file or directory in /usr/local/etc/httpd/htdocs/store/includes/modules/payment/paypal_wpp/PayPal.php on line 11

 

Fatal error: main(): Failed opening required 'PEAR.php' (include_path='/usr/local/etc/httpd/htdocs/store/includes/modules/payment/paypal_wpp:.:../PEAR-1.1') in /usr/local/etc/httpd/htdocs/store/includes/modules/payment/paypal_wpp/PayPal.php on line 11

 

 

there is no PEAR.php with the installation files. Is this some other package I need to get in order to use this function of osCOmmerce?????

Link to comment
Share on other sites

You can save yourself a lot of trouble by using the latest version of the module, found here:

http://www.oscommerce.com/community/contributions,3647

 

The module that you download off of their site is a lightly modified version of v0.7.3 of this module. Right now, development is at v0.9, and since then, many features have been added and the pear modules have been done away with.

Edited by dynamoeffects

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

You can save yourself a lot of trouble by using the latest version of the module, found here:

http://www.oscommerce.com/community/contributions,3647

 

The module that you download off of their site is a lightly modified version of v0.7.3 of this module. Right now, development is at v0.9, and since then, many features have been added and the pear modules have been done away with.

 

 

Thanks very much for your help. I see your name alot on this forum. Are you one of osCommerce main developers (sorry if that's a stupid question).

Link to comment
Share on other sites

Ha! No, I just spend too much time in the forums.

 

HI,

 

Ok, I download the files you directed me too, but I already have a problem with the installation. In the first part of this installation, it has the following:

 

STEP #1 - Get your API Certificate and Login Information

Goto My Account -> Profile.

Click the API Access link.

Click the API Certificate Request link.

Complete the certificate request.

Click on download and save the file to your computer.

 

 

Well, ther is no API Certificate Request Link which downloads a file. There is an option to Request API Credentials which then gives an API Username, API Password, and a signature. But there is nothing to download.

 

So I use what was giving in the Admin setup, though I doubt I'm doing it correctly and when I test it I get.

 

Error MODULE_PAYMENT_PAYPAL_DP_CERT_NOT_INSTALLED

 

My setup is pretty new, so if there is a clean full install somewhere where I can just plob it down, that would be nice. (probably unrealistic, but what the hey).

 

So where am I going wrong?

 

By the way, if I ever do get this working and I get payments processed, I'd be more than happy to make a donation.

Link to comment
Share on other sites

Log into your PayPal account, go to Profile -> API Access. Click on the link that says something like, "View or Remove Credentials". On the next page, remove those credentials and go back to the API access page where there are two boxes. You want the API access that talks about third-party vendors, which I believe is the choice on the right. Once that's done, you'll see a link to download the certificate.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...