Nice! Thank you for fast reply.
With this code i got it working
$order = new AOrder( Registry::getInstance() );
$this->data = $order->buildOrderData( $that->session->data );
//echo var_dump($this->data);
print '<pre>' . htmlspecialchars(print_r($this->data, true)) . '</pre>';
I couldnt post code in code tags, it says i'm not allowed to post external links... so sorry for that.
Since you seem to be good on Abantecart. Could you have a suggestion how i should make a custom order item. (anybody can answer with ideas
I want a customer to be able to order a custom priced item from me.
When customer orders item, i will see the order in admin page if customer has gone to the checkout page just before paypal is initiated. If customer is guided here to leave that area to wait for me to give the prodcut a price, how could i do it (i mean, how could i define a price for a product on an incomplete order/checkout ?)
I tried to do it with creating an inverted coupon. That worked in abantecart side, so creating an coupon with double minus sign and value => --29.90
But paypal wont see this coupon as an item so that does not work. (paypal sees just the tax value part of 29.90).
This would be enough it paypal just would notice the coupon as a product since i can give a coupon a name that would refere to the custom order item.
Cart would be then:
custom order item: 0€
[username] custom order price: 29.90€
shipping: 8€
tax: ...€