Hi,
I'm a noob so please be gentle with me! I want an idea of how to "do stuff" as soon as payment for an order is processed, using custom php. Specifically, suppose I go to
Next to "Update order status on full payment" I click on "edit". I go to "Actions" and select "Execute custom PHP code" where I see two variables available, "$order" and "$account". What I'd like to know is:
1) Does $order represent the order I'm working on? In other words, as far as the custom PHP I'm writing is concerned, is this actually a constant? And similarly for $account?
2)What kind of variable is it? An array? An array of arrays? If it's an array, how do I drill into it and get the appropriate parameters (order id, line items, billing and shipping address, etc.)?
Finally, it would be great to see a sort of "hello world" for what I could enter in this "custom PHP" block. My goal is to export the order data to my Openbravo implementation (I already wrote a very simple PHP class for making api calls to Openbravo, and it's already being used!).

When should the dramatic screen effect appear?

