I'm working with Magento CE I've deployed SUPEE-6788 security patch and related 3rd party extension compliant patches on my test and preproduction environment.

I went successfully across an exhaustive process checklist until my last test: order creation with REST Api.

The product read operations are working fine with GET method on both test and preprod environments.

But the problem happens when I try to create an ORDER with POST method. The order is not created and empty response returned by the webservice. I receive the following status Code in my Firefox REST client: 500 Internal Server Error Note: Same operation is working fine on my test environment.

No script error is returned, even with activating developer mode and error_reporting.

I decided to start a "hard debug session" with adding some logs on different steps (only on my preprod environment scripts).

At the end, my debug session brought me to the _runCallbacks method from Mage_Core_Model_Resource_Transaction class. The call_user_func() from line 106 is just blocked without throwing any Exception or error.

Any help/suggestion would be appreciate.

  • ` I am using REST Api to create product, order with magento. I could successfully list products and orders, create products but unable to create orders. Kindly guide me \how could I create order through rest. ` by Sneha Maheshwari
    – Amit Bera
    Commented Jan 4, 2016 at 9:32

1 Answer 1


After some heavy investigations, I've found the cause.

It was related to a 3rd party extension compatibility patch for SUPEE-6788. This patch was pushed to the preprod environment only and not on both.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.