Hi everyone,
If put
foreach($orders as $order) { echo 'Order id:'; echo $order['id']; echo '<br/>'; echo 'Email:'; echo $order['email']; echo '<br/>'; echo 'Currency:'; echo $order['currency']; echo '<br/>'; }
it will print corresponding order id,email and currency, else if put
foreach($orders as $order) { print_r($order); echo '<br/>'; }
wont give correct format, it will display something like
Array ( [buyer_accepts_marketing] => 1 [cancel_reason] => [cancelled_at] => [cart_token] => d350e1f70357e65294a493506ec9ef08 [checkout_token] => 40d48717c464b2cdc3dd7033a20bb6ed [closed_at] => [confirmed] => 1 [created_at] => 2014-05-13T08:20:14-04:00 [currency] => INR [email] =>
but i need all the order details include customer details,product details and invoice as correct format.
If anybody know, please help me.
Any help could be appreciated,
Thank you!.