This is duplicated issue from Commerce Payment Suomen Verkkomaksut -module.

Taxes are sent to Paytrail if commerce_tax -module is in use.

@see http://cgit.drupalcode.org/commerce_suomenverkkomaksut/commit/?id=5eb3a6..., perhaps this issue #1966226: Taxes aren't sent to Suomen Verkkomaksut?

Comments

rpsu’s picture

Here's a patch.

tuutti’s picture

Seems like $price['data']['include_tax'] is never set and would always fallback to 0% tax.

I changed it to work with commerce 7.x.2.x and moved tax calculation logic into separate function

  • tuutti committed 19a45b9 on 7.x-1.x
    Issue #2285677 by tuutti, rpsu: Taxes are sent to Paytrail [cloned issue...
tuutti’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.