Jump to content

PayPal PRO


Guest notti

Recommended Posts

Im having trouble with paypal pro. I have a website pro account and have uploaded the certificate to my server. I configured both the express and direct gateways and when i go to submit an order it says:

Sorry, your order failed!

You can attempt to purchase your basket contents again below:

Im a little new to this but i can hold my own... am i missing something? :)

Link to comment
Share on other sites

I am having the same trouble, notti. I can get the PayPal Express payment gateway to work properly in the sandbox environment (haven't tried live), but get the same message as you when trying to use both the live and sandbox environments.

Can anyone out there give us a hand?

Link to comment
Share on other sites

I haven't tried to setup the API yet, but you may see if my fixes for transfer.inc.php will help you out.

http://www.cubecart.com/site/forums/index....showtopic=11199

Specifically, this line as it's definately wrong in the release:

if($result['status']== "2"){

You need to add a "[0]" so that it says this:

if($result[0]['status']== "2"){

The DB select will always return a multi-dimensional array, but it was not checked as such so it will always fail that test out of the box.

Give it a shot.

Link to comment
Share on other sites

The transfer.inc.php for the Direct Pay Gateway doesn't actually use the same code as for PayPal IPN, but I appreciate the suggestion. Does anyone have any insight, or at least success in getting Direct Pay to work?

Link to comment
Share on other sites

Guest burnsjt

I am getting the same error using paypal pro.

I set the gateway to debug and this is the error I am getting at the end of the file.

[error] curl_exec error 28 connect() timed out!

I have been looking for what it is trying to connect to, DNS name, but have been unable to find it. I don't see it in the log file.

Does anyone know?

Link to comment
Share on other sites

Guest theorbo

Unless error 28 is something different with CubeCart's mySQL database than it is with WordPress's, you need to contact your host. Many times this can mean that the host needs to do some repair or resetting on the database backend.

Link to comment
Share on other sites

Join the conversation

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

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