Jump to content

[Resolved] Order stays at "pending" when paypal payment made


Brian T

Recommended Posts

Hi,

 

Recently, when customers have paid for their order for digital products usign paypal, the order status is remaining at "Pending", which means I've got to manually set it to "order complete" before they can downlaod the digital product they've paid for.

In the past, orders were marked as "order complete" when payments were made using paypal.

Any help as to where I can reset this?

Many thanks.

Brian.

Link to comment
Share on other sites

  • 4 weeks later...

I've upgraded to the most recent version of cubecart:

CubeCart Version
6.0.8
PHP Version
5.4.45
MySQL Version
5.1.73-log
 

and it still appears to be leaving orders paid for with paypal as "pending" - is there a way of editing this version of cubecart so that the order will show as complete once paypent with paypal is made (using the standard paypal plugin).

Help greatly appreciated here if possible please.

Link to comment
Share on other sites

In the list of items in the admin, Manage Plugins page, for PayPal, that item(s) will show as either a 'Plugin' or a 'Gateway'. Which one (or both) do you have installed?

The PayPal 'gateway' is coded to listen for an "Instant Payment Notification" (IPN). The gateway code informs PayPal of the URL to use to communicate the IPN with your store. You do not have to set it (probably not, anyway). The 'plugin' may do things a bit differently -- I don't know, for sure.

How do you know if the IPN is being received by your store?

1. In your Hosting Account's Control Panel, find the history of web accesses - the "raw web log". Do not look at the summarizations of web access that shows the most popular pages, most popular search engine referrals, etc, of what these utilities show. It will be a web log, probably archived by day. Look through the list for a URL that starts with:
index.php?_g=rm&type=gateway and has PayPal in the URL somewhere

This is PayPal communicating with your store with the results of the transaction.

Once you verify that PayPal is communicating with your store by finding the evidence in your web access log, then...

2. Visit your PayPal Merchant Account Control Panel at PayPal and find the IPN Results log. (I do not know what it is actually called.) CubeCart will cause your hosted account's web server to answer - if everything is working - with a 200 OK response. PayPal's IPN Results log will show if any IPN message did not get a 200 OK response.

Once you verify that PayPal has not received any response other than 200 OK responses, then we can start looking at CubeCart code.

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