Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Orders not captured in Admin  (Read 10335 times)

Offline authentic

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Orders not captured in Admin
« 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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4362
  • Karma: +301/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Orders not captured in Admin
« Reply #1 on: May 12, 2013, 10:48:44 PM »
Hm. What payment method do you use? Check the order status in the payment extension settings
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline authentic

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Orders not captured in Admin
« Reply #2 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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2064
  • Karma: +326/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Orders not captured in Admin
« Reply #3 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.
« Last Edit: May 14, 2013, 06:07:29 AM by abolabo »
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4362
  • Karma: +301/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Orders not captured in Admin
« Reply #4 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.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline authentic

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Orders not captured in Admin
« Reply #5 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


Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2064
  • Karma: +326/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Orders not captured in Admin
« Reply #6 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.

“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline bubblegumweb

  • Full Member
  • ***
  • Posts: 100
  • Karma: +10/-1
    • View Profile
Re: Orders not captured in Admin
« Reply #7 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?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2064
  • Karma: +326/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Orders not captured in Admin
« Reply #8 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline bubblegumweb

  • Full Member
  • ***
  • Posts: 100
  • Karma: +10/-1
    • View Profile
Re: Orders not captured in Admin
« Reply #9 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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2064
  • Karma: +326/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Orders not captured in Admin
« Reply #10 on: September 10, 2013, 03:16:41 PM »
yes. you did all correct.
you need to look on column "order_status_id"
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline bubblegumweb

  • Full Member
  • ***
  • Posts: 100
  • Karma: +10/-1
    • View Profile
Re: Orders not captured in Admin
« Reply #11 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

 

Powered by SMFPacks Social Login Mod