Improved and templated VAT Number management.
This commit is contained in:
parent
56ec560255
commit
bfc140a365
4 changed files with 34 additions and 26 deletions
|
|
@ -152,15 +152,17 @@ SKIP: {
|
|||
userId => $taxUser->userId,
|
||||
countryCode => 'NL',
|
||||
vatNumber => $testVAT_NL,
|
||||
approved => 1,
|
||||
viesValidated => 1,
|
||||
viesErrorCode => undef,
|
||||
approved => 0,
|
||||
};
|
||||
my $expectBE = {
|
||||
userId => $taxUser->userId,
|
||||
countryCode => 'BE',
|
||||
vatNumber => $testVAT_BE,
|
||||
approved => 1,
|
||||
approved => 0,
|
||||
viesErrorCode => undef,
|
||||
viesValidated => 1,
|
||||
};
|
||||
|
||||
my $vatNumbers = $taxer->getVATNumbers( undef, $taxUser );
|
||||
|
|
@ -257,6 +259,7 @@ SKIP: {
|
|||
#
|
||||
#######################################################################
|
||||
|
||||
$taxer->update( { 'automaticViesApproval' => 1 } );
|
||||
my $book = WebGUI::Shop::AddressBook->create($session);
|
||||
|
||||
# setup address in EU but not in residential country of merchant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue