New Zenner
- Join Date:
- Mar 2005
- Posts:
- 31
- Plugin Contributions:
- 0
Paypal IPN Payment Details
When an order is received in store that is payed with paypal. There is missing some info.
E.G. Shipping costs is 0.00 , the state is missing, invoice, num_cart_items etc..
Now I see in the paypal.php file that this information is commented out, shipping costs is hard coded to 0.00 and was previous :
zen_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
commented out is :
zen_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
And this was changed to:
zen_draw_hidden_field('amount', number_format(($this->totalsum) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
What will happend when I change these values back to the original state they used to be?
I want for sure that shipping costs are shown to the customer at the paypal website.