Page 1 of 2

PayPal and missing orders again

Posted: Mon Aug 29, 2011 3:09 am
by sebasq
Folks,

I have opencart v. 1.5.0.3 installed. I've configured PayPal Standard account as in opencart PayPal guide.

PayPal is showing as payment method. I can put order, then I'm transfered to PayPal, I'm paying for my products and I'm back on my opencart site. Everything seems to work just fine.

Thing is that I've paid for product but order is in status Canceled and I can find this order only in Missing Orders.

I've checked pp_standard.php file and made some traps. Seems that everything is ok until line:

Code: Select all

 if (!$this->config->get('pp_standard_test')) {
                                $curl = curl_init('https://www.paypal.com/cgi-bin/webscr'); -------- after this line nothing is happening
                        } else {
                                $curl = curl_init('https://www.sandbox.paypal.com/cgi-bin/webscr');
                        }
Can someone tell me what is wrong please?

Cheers,
seba

Re: PayPal and missing orders again

Posted: Mon Aug 29, 2011 4:49 am
by Qphoria
looks like curl is erroring out on your server.

Try adding:
exit(curl_error($curl));

right after:
$curl = curl_init('https://www.paypal.com/cgi-bin/webscr');

Re: PayPal and missing orders again

Posted: Mon Aug 29, 2011 6:43 am
by sebasq
thanks for answer.

still nothing changed...

maybe there's sth wrong with permissions on my server?

as i understand PayPal is sending answers through POST, but how can I check if its reaching destination. On PayPal account I have always "Send" in History.

any ideas?

Re: PayPal and missing orders again

Posted: Wed Aug 31, 2011 10:12 pm
by sebasq
Folks,

No one? this is still not working... dunno what to do..plz help..

sebas

Re: PayPal and missing orders again

Posted: Fri Sep 02, 2011 8:54 am
by IAA
I'm having the same issue since upgrading to 5.0

Re: PayPal and missing orders again

Posted: Mon Sep 05, 2011 1:43 am
by sebasq
i still didn't figure out how to fix it..u?

Re: PayPal and missing orders again

Posted: Fri Sep 09, 2011 3:01 am
by cbishwaraj
I am also having problem on this.
All the paypal orders are going to 'Missing order'...

Please opencart Developers! HELP needed on this!!!

Re: PayPal and missing orders again

Posted: Sun Sep 11, 2011 4:36 pm
by Matty
I'm also having this issue.

Have setup a paypal 'sandbox' account and payment module (as per http://www.opencart.com/index.php?route ... 8_32_35_60) but all transactions come through as "abandoned orders".

Has anyone found a solution to this yet?

Thanks
Matt

Re: PayPal and missing orders again

Posted: Sat Sep 17, 2011 11:31 pm
by cdamianou
I have the same problem as well. Surely due to the amount of people having this problem, someone must know why we are having them?

Anyone

Re: PayPal and missing orders again

Posted: Sun Sep 25, 2011 2:09 pm
by Matty
If anyone's still having problems with paypal transactions coming up as 'abandoned orders' here is something that worked for me...

(1) Create new paypal sandbox from scratch (with 'payment review' disabled on test accounts for seller and buyer)
(2) Remove .htaccess file (which I had setup to password protect my 'development' site)

Cheers
Matt

Re: PayPal and missing orders again

Posted: Wed Sep 28, 2011 8:10 pm
by sebasq
Matty, that's not the case but thanks for trying. Thing is that lot o people has problem with "Missing Orders" and no one can help us. This is disaster. I'm trying to solve the problem for 1 month and still not working.

Can someone from developer can help us?!?!?!?!?

Re: PayPal and missing orders again

Posted: Thu Sep 29, 2011 2:20 am
by SXGuy
i had a missing order problem, turned out to be the sort order of the totals in opencart admin.

Can you list in order, all your totals that are configured?

Re: PayPal and missing orders again

Posted: Thu Sep 29, 2011 6:15 am
by sebasq
i have 2 Orders Totals disabled. Both was without Sort Order. i've added numbers to Sort Order and tried. still is not working.

My Order Totals:

Order Totals Status Sort Order Action
Coupon Enabled 4 [ Edit ] [ Uninstall ]
Store Credit Enabled 7 [ Edit ] [ Uninstall ]
Handling Fee Disabled 6 [ Edit ] [ Uninstall ]
Low Order Fee Disabled 10 [ Edit ] [ Uninstall ]
Reward Points Enabled 2 [ Edit ] [ Uninstall ]
Shipping Enabled 3 [ Edit ] [ Uninstall ]
Sub-Total Enabled 1 [ Edit ] [ Uninstall ]
Taxes Enabled 5 [ Edit ] [ Uninstall ]
Total Enabled 9 [ Edit ] [ Uninstall ]
Gift Voucher Enabled 8 [ Edit ] [ Uninstall ]

thanks,
seba

Re: PayPal and missing orders again

Posted: Thu Nov 24, 2011 7:27 am
by sebasq
guys?? any suggestions?

I've already did:
- checked paypal account config
- checked IPN
- tried with disabled firewall
- tried without .htaccess file
- all statuses in paypal IPN history are with status 200 (they should be, right?)
- paypal module in opencart is set to debug mode but nothing appears in error log after transaction
- when i put :

Code: Select all

        public function callback() {
mail($this->config->get('config_email'), "IPN REACHED", "IPN REACHED");
                $this->load->library('encryption');
in /catalog/controller/payment/pp_standard.php i get an e-mail IPN REACHED

still no clue why all my orders are going to Missing Orders.

Plz help.

Re: PayPal and missing orders again

Posted: Wed Nov 14, 2012 10:35 am
by lindapoppleton
Has this been solved somewhere? I cannot believe it has been going on for more than a year and I am now having this problem with a new install of OpenCart 1.5.4. What the heck is going on? Does anyone have paypal standard working correctly with this cart?

Re: PayPal and missing orders again

Posted: Fri Nov 30, 2012 4:44 am
by rfollett
Any updates on this?

Re: PayPal and missing orders again

Posted: Fri Nov 30, 2012 6:42 am
by JNeuhoff
Having quickly scanned through the posts here, it seems to me that the abandoned orders issue is because of missing or failed IPN calls from Paypal to the OpenCart server. So the first thing to do would be to check the server's raw access logs to see whether PayPal sent IPN calls to the OpenCart server.

Re: PayPal and missing orders again

Posted: Fri Nov 30, 2012 2:52 pm
by rfollett
Thank you. How do I heck the server's raw access logs to see whether PayPal sent IPN calls to the OpenCart server.?

Re: PayPal and missing orders again

Posted: Fri Nov 30, 2012 6:29 pm
by rfollett
Also just downloaded latest version of encription.php and orders now working.

BUT they are coming through as status Complete? ANy ideas why this might be?

Re: PayPal and missing orders again

Posted: Fri Nov 30, 2012 7:19 pm
by JNeuhoff
rfollett wrote:Thank you. How do I heck the server's raw access logs to see whether PayPal sent IPN calls to the OpenCart server.?
Just search for all lines containing e.g. 'route=payment/pp_standard/callback'.