Skip to content

Payment tax class remains unchanged after country selection #760

Description

@VG20262704

Bug Report

Current Behavior
I would like to apply taxClassId = 1 (19% VAT) only for Germany (DE).
For all other countries, taxClassId = 0 (0% VAT) should be used.

However, the tax rate remains at 19% even after selecting a different country during checkout/cart calculation.

I followed the configuration example from the Cart documentation FAQ: https://docs.typo3.org/p/extcode/cart/11.4/en-us/Faq/Index.html

Configuration used:

plugin.tx_cart {
    settings {
        payments {
            countries {
                de >
                at >
                ch >
                de {
                    preset = 1
                    options {
                        1 {
                            title = Vorkasse
                            extra = 0.00
                            taxClassId = 1
                            status = open
                        }
                    }
                }
                at {
                    preset = 1
                    options {
                        1 {
                            title = Vorkasse
                            extra = 0.00
                            taxClassId = 3
                            status = open
                        }
                    }
                }
                ch < at
                lu < at
                # etc., about 120 more countries
            }
        }
    }
}

I also tried configuring payment zones, but the behavior is the same.

Expected behavior/output
When selecting a country other than Germany, the tax class should switch accordingly and the cart should no longer calculate 19% VAT.

Environment

  • TYPO3 version(s): [12.4.45]
  • cart version: [10.2.7]
  • Is your TYPO3 installation set up with Composer (Composer Mode): [no]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions