The current total tax calculation is adding adjustments like shipping cost to the total tax value.

At the moment ePayco seems to force a tax verification by their end resulting on a failed transaction. The total tax should be only taxes and no other adjustments anyway.

I'm providing a patch but I'm aware that this will work only if the order has items with tax or items without tax, not both at the same time because epayco's verification at their end. A better way shuld be provided in the future. I'm guessing that items with different tax values will not work too.

Not sure when epayco changed this behaviour but I'm personally getting reports since last week. Still no answer from ePayco anyway.

CommentFileSizeAuthor
#2 tax-calculation-3137731.patch895 bytesYaazkal

Comments

Yaazkal created an issue. See original summary.

Yaazkal’s picture

StatusFileSize
new895 bytes

Providing the patch, asking for review

Yaazkal’s picture

Status: Active » Needs review
Yaazkal’s picture

Title: Tax calculation is adding other adjustments as shipping » Tax calculation is adding other adjustments like shipping
Yaazkal’s picture

I'm so sorry, didn't notice that this module was replaced by another one (https://www.drupal.org/project/epayco).

I'll check the other instead and see how it works.

Yaazkal’s picture

I suggest to tag/label this module as obsolete and unsupported so drupal update will advice it on the update report page.

PS: I guess the other module still needs the fix proposed here, so I'll test before giving the patch.

waspper’s picture

Hello.

As you already have seen, this module was replaced by a different one. So, fixes here are not supported anymore. Please, feel free to test/provide your patch into the new module page: https://www.drupal.org/project/epayco. I'll be glad to get help there :)