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?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | taxes_are_sent_to_paytrail-2285677--2.patch | 1.58 KB | tuutti |
| #2 | interdiff-2285677-1---2.txt | 2.45 KB | tuutti |
| #1 | taxes_are_sent_to_paytrail-2285677-1.patch | 1.3 KB | rpsu |
Comments
Comment #1
rpsuHere's a patch.
Comment #2
tuutti commentedSeems 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
Comment #4
tuutti commented