I am using Paypal EC and have copied though the files contained in the 1.3.9h download. Site is 1.3.9h updated - and db upgraded. Many other mods - mostly shipping and alternative SagePay payments from CEON.
Cannot get Paypal partial refunds to work through Zen Cart admin. Full refunds are fine and update. Partials done on the Paypal site DO update the transaction on ZC.
Debug log response array for the ZC partial is:
Response:
Array
(
[TIMESTAMP] => 2010-12-07T10:43:45Z
[CORRELATIONID] => c849699dcd358
[ACK] => Failure
[VERSION] => 60.0
[BUILD] => 1613293
[L_ERRORCODE0] => 10001
[L_SHORTMESSAGE0] => Transaction failed due to internal error
[L_LONGMESSAGE0] => Internal Error
[L_SEVERITYCODE0] => Error
[CURL_ERRORS] =>
)
The request headers and parameters are fine - and match those for the successful full refund with the exception of [REFUNDTYPE => Partial and [AMT] being shown - which I believe is correct.
Any ideas? Is this a bug?
Also, we show goods including local tax (VAT) but when the user uses the express checkout button the amount they are asked to approve in Paypal is shown net of tax. They then return to our site where they choose the shipping and on the next page are shown the now correct tax inclusive price. Is this normal behavior?
If it is normal is there a way to get Paypal to show the tax inclusive amount? I notice from the logs that the tax amount is not being submitted to Paypal e.g for a £17.50 item:
paypalwpp
BEFORE line-item calcs: Array
(
[AMT] => 14.89
[ITEMAMT] => 14.89
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
)
- AFTER doing line-item calcs: Array
(
[AMT] => 14.89
[ITEMAMT] => 14.89
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
[L_NUMBER0] => Q280032
[L_NAME0] => Adults Dunlop Acifort Heavyduty Welly - Green
[L_DESC0] => Footwear Sizes: UK 10
[L_AMT0] => 14.89
[L_QTY0] => 1
[DESC] => Tax included in prices: 0 (0)
Many thanks for reading all this!



Reply With Quote



Bookmarks