driesvints / vat-calculator

Handle all the hard stuff related to EU MOSS tax/vat regulations, the way it should be.
MIT License
1.2k stars 88 forks source link

Validation rule not recognized #158

Closed BenOussama180 closed 1 year ago

BenOussama180 commented 1 year ago

image

on my import

use Mpociot\VatCalculator\Rules\ValidVatNumber;
driesvints commented 1 year ago

Don't know what to say? It's there: https://github.com/driesvints/vat-calculator/blob/3.x/src/Rules/ValidVatNumber.php

Maybe you're using an old version?

BenOussama180 commented 1 year ago

i just installed package yesterday , i have latest version, i dont know why its not recognized

driesvints commented 1 year ago

I don't know what to say sorry. It's there. It should work.

fsuuaas commented 1 month ago

@BenOussama180 Please check your installed version of vat-calculator. To use Validation rule, you need to upgrade manually to latest version. I found automatic composer update does not upgraded to leatest version.

BenOussama180 commented 1 month ago

@BenOussama180 Please check your installed version of vat-calculator. To use Validation rule, you need to upgrade manually to latest version. I found automatic composer update does not upgraded to leatest version.

how can i update manually ?

fsuuaas commented 1 month ago

Put latest version in composer.json file. "mpociot/vat-calculator": "^3.12",

Then composer update.