Hi,
I experience an issue with shipping costs disappearing when using the paypal ipn v2.4 module on oscmax v2.0.25, and here are the steps to reproduce:
First:
* Make sure you have the paypal ipn 2.4 credit card payment module enabled
* Make sure you have some some shipping method with an associated cost enabled (such as the flat rate module)
Then:
* Log in as customer, buy something, go to register, click checkout
* Select some shipping method that has an associated cost, click to continue
* Select the paypal ipn credit card payment method, click to continue
* Then at the confirmation page click the link back to "payment info" at the bottom
* Now the shipping costs have been mangled, the line is there but the name and the value is the first digit of the original shipping cost.
This is a serious error, as any customer can avoid shipping costs by doing this and then proceed to pay with their credit card!
I believe it is the paypal ipn module that is at fault because this doesn't happen when other payment modules are selected, and it happen regardless of shipping method selected. However I can't seem to locate the erroneous code, as the paypal ipn v2.4 module is a little complex and I don't know the internal workings of oscmax very well yet either.
Any ideas how to fix it?
Any ideas where in the code the error is happening?
I see that the paypal ipn module also have a php file in the ext\modules\payment\paypal_ipn-directory of oscmax - what is the ext directory structure meant for, and when is this php file used and what is its purpose?
Both the ext module and the regular module php files seem to reset a lot of variables and states and it looks kind of hairy...
Bookmarks