AbanteCart Community

Shopping Cart Operations => Support => Topic started by: authentic on May 11, 2013, 04:39:42 PM

Title: Orders not captured in Admin
Post by: authentic on May 11, 2013, 04:39:42 PM
Hello AbanteCart users/developers,

I recently installed the latest AbanteCart Cart version 1.1.4 and it was a breeze setting it up etc.
Overall, I love the cart, now I just need some help smoothing out the problem areas.

I have noticed today, that orders don't seem to get captured. It captured me as a "customer",
but there is no record of my order in the Admin.

Any idea what might be causing this? 

Thank you for any help and tips you might have.

Elli
Title: Re: Orders not captured in Admin
Post by: abantecart on May 12, 2013, 10:48:44 PM
Hm. What payment method do you use? Check the order status in the payment extension settings
Title: Re: Orders not captured in Admin
Post by: authentic on May 12, 2013, 11:58:45 PM
Hello,

first of all thank you for your reply.

I use the 2Checkout Payment method, and it jumps me through to their site and completes the transaction
and then returns me to the success page.  When I check the customer history, it has no record...as well
as the admin section shows no order logged.

I have the Order Status in Extensions set to "Processing".

Elli
Title: Re: Orders not captured in Admin
Post by: abolabo on May 13, 2013, 05:28:36 AM
almost all payment extensions for abantecart have response-controllers for callback. It's mean that after customer paid for order payment gateway calls this controller and reports him about order status.
To check is 2CO reports about status changing you have to look into web-server log-file access.log and try to find rows that contain "rt=extension/2checkout/callback".
Or just open file public_html/extensions/2checkout/storefront/controller/responses/extension/2checkout.php and paste something like this
Code: [Select]
$this->log->write(var_export($this->request->post,true))Also be sure that your's URL is accessible for 2Checkout servers and firewall does not denied requests to your server.
Title: Re: Orders not captured in Admin
Post by: abantecart on May 13, 2013, 12:26:24 PM
Make sure you read and follow instructions at the bottom of 2Checout extension configuration page.

If you still have problem, check error log in system -> Logs -> Error log.
Title: Re: Orders not captured in Admin
Post by: authentic on May 13, 2013, 01:30:01 PM
Ok, I have checked both suggestions... the callback file as well as the error log files.

The 2Checkout callback file seems to be ok, it has a whole bunch of  $this> entries relevant to checkout.

And then, the below is a prevalent error that pretty much has filled the file:

2013-05-13 17:07:37 - warning:  AbanteCart core v.1.1.4 Invalid argument supplied for foreach() in <b>/users12/domains/pen-ink-refills.eu/web/shop/core/lib/menu_control.php</b> on line <b>110</b>

Unfortunately, I am not tech savvy in php and am not sure what all of that means.   ???

Elli

Title: Re: Orders not captured in Admin
Post by: abolabo on May 14, 2013, 06:11:34 AM
opps..sorry..wrong code
need to paste this
Code: [Select]
$this->log->write(var_export($this->request->post,true))
this code will write all request variables into error log of your abantecart.
Try to checkout and look inside.
If any records about some array(){}  - 2checkout can't to connect by your's callback url.

Title: Re: Orders not captured in Admin
Post by: bubblegumweb on September 09, 2013, 04:41:08 PM
I have same problem with paypal standard, it shows customers but not any orders recorded? any ideas please?
Title: Re: Orders not captured in Admin
Post by: abolabo on September 10, 2013, 04:03:47 AM
1. go to cpanel of your hosting provider and run phpmyAdmin.
2. find table "orders" and look into it. If order was created but customers haven't been returned that order will have order_status_id=0
Title: Re: Orders not captured in Admin
Post by: bubblegumweb on September 10, 2013, 02:37:54 PM
Hi , I did a test and got my brother to order from my site. He says it took him to paypal, paid and then was directed back to my AbanteCart shop website. I have also checked the MySQL database under the orders tab but I am not sure what I am looking at really. Hopefully I have managed to post a screenshot with this message
Title: Re: Orders not captured in Admin
Post by: abolabo on September 10, 2013, 03:16:41 PM
yes. you did all correct.
you need to look on column "order_status_id"
Title: Re: Orders not captured in Admin
Post by: bubblegumweb on September 10, 2013, 05:12:46 PM
Hi,
thanks for these replies. Here is a screen shot of the database section you said look at