Use Express Checkout instead of Website Payments Standard, and then the normal notifiers will fire properly.
Printable View
Use Express Checkout instead of Website Payments Standard, and then the normal notifiers will fire properly.
Thanks again for the quick response. That solved the problem in short order.
Using this approach, how would I grab the stock quantity from the ordered products? Since that information is not part of $Class->products i suspect that it would need to be added from the order class. Im looking at the stock_limited section but havent quite figured out how to adapt it.
It would be quite useful to have the out-of-stock products passed along so I could automate the backorder process.
Right you are. Dont know what I was thinking. Thanks for reminding me.
Now my little observer compares order qty with stock qty and changes the order status to backorder.
Backorder items(model/qty) are sent to our main system and placed on the next order to our suppliers.
Like jsquared I also send the shipping information sent to our logistics partners.
Quite useful little things, these observers.
And/or, You could set up a cron to check for 0 or low-stock items at regular intervals and do whatever you wish from there. Depends on how fast your inventory moves I guess.