Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi, this is a great contribution but I'm having a problem with list 281, we're getting an error "An error occured when we tried to contact PayPal's servers" and I don't know why ...

 

I've confirmed the line (279) that's generating the error:

 

$this->away_with_you(MODULE_PAYMENT_PAYPAL_DP_TEXT_GEN_ERROR . $caller->Errors->LongMessage . ' (' . $caller->Errors->ErrorCode . ')', true);

 

It's not returning a long code, simply the error message. Can you help me debug this by letting me know what the line *should* be doing?

 

Thanks ...

 

Chris

Posted (edited)

It returns an error for me when I use a bad username/password, so I'm willing to bet that it's a timeout error. If it's not returning any error message, that means it's not even contacting PayPal's servers. Two things to try:

 

1. Edit the HTTP.php file mentioned in the readme and set the $timeout variable to 300, then try again.

 

2. Did you install the pear modules correctly? Check and make sure you unzipped them into your root web folder i.e: /catalog/pear/ Then change the pear module path setting in the module's admin section.

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...