• Support will be limited until May 1st, as I will be out of the office travelling. Thank you for your patience and understanding.

Bug Invalid VAT Rate API response error

Status
Not open for further replies.

Spinball

Customer
Hello, I have several server errors:
#0 src/addons/DBTech/eCommerce/Repository/Address.php(50): DBTech\eCommerce\Repository\Country->validateVatIdForCountry('DE328675180', 'DE')
#1 src/addons/DBTech/eCommerce/Pub/Controller/Checkout.php(231): DBTech\eCommerce\Repository\Address->validateVatId('DE328675180', Object(DBTech\eCommerce\Entity\Address), NULL)
#2 src/XF/Mvc/Dispatcher.php(350): DBTech\eCommerce\Pub\Controller\Checkout->actionUpdate(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('DBTech\\eCommerc...', 'Update', Object(XF\Mvc\RouteMatch), Object(DBTech\eCommerce\Pub\Controller\Checkout), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\eCommerce\Pub\Controller\Checkout), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#7 src/XF.php(512): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
array(4) {
["url"] => string(48) "/community/dbtech-ecommerce/checkout/update/682/"
["referrer"] => string(57) "https://www.m2n.co.uk/community/dbtech-ecommerce/checkout"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["coupon_code"] => string(0) ""
["sales_tax_id"] => string(11) "DE328675180"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(36) "/community/dbtech-ecommerce/checkout"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
The VAT number being used is DE328675180 for a German company.
The user reports not being able to purchase.
 
There were 9 errors of this type:
  • UnexpectedValueException: eCommerce error: Invalid VAT Rate API response: 'MS_UNAVAILABLE'
  • src/addons/DBTech/eCommerce/Repository/Country.php:294
  • Generated by: developr
  • Jul 17, 2021 at 12:51 AM

Stack trace​

#0 src/addons/DBTech/eCommerce/Repository/Address.php(50): DBTech\eCommerce\Repository\Country->validateVatIdForCountry('DE328675180', 'DE')
#1 src/addons/DBTech/eCommerce/Service/Address/Create.php(110): DBTech\eCommerce\Repository\Address->validateVatId('DE328675180', Object(DBTech\eCommerce\Entity\Address), NULL)
#2 src/XF/Service/ValidateAndSavableTrait.php(17): DBTech\eCommerce\Service\Address\Create->_validate()
#3 src/addons/DBTech/eCommerce/Pub/Controller/Checkout.php(383): DBTech\eCommerce\Service\Address\Create->validate(NULL)
#4 src/XF/Mvc/Dispatcher.php(350): DBTech\eCommerce\Pub\Controller\Checkout->actionAddress(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('DBTech\\eCommerc...', 'Address', Object(XF\Mvc\RouteMatch), Object(DBTech\eCommerce\Pub\Controller\Checkout), NULL)
#6 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\eCommerce\Pub\Controller\Checkout), NULL)
#7 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#9 src/XF.php(512): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state​

array(4) {
["url"] => string(44) "/community/dbtech-ecommerce/checkout/address"
["referrer"] => string(57) "https://www.m2n.co.uk/community/dbtech-ecommerce/checkout"
["_GET"] => array(0) {
}
["_POST"] => array(14) {
["title"] => string(16) "Forumhelden GmbH"
["business_title"] => string(16) "Forumhelden GmbH"
["business_co"] => string(0) ""
["address1"] => string(13) "Kiefernweg 15"
["address2"] => string(16) "25469 Halstenbek"
["address3"] => string(0) ""
["address4"] => string(0) ""
["country_code"] => string(2) "DE"
["sales_tax_id"] => string(11) "DE328675180"
["is_default"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(36) "/community/dbtech-ecommerce/checkout"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
between 12:47AM and 12:51AM on Saturday.
Then later at 10:47AM:
  • UnexpectedValueException: eCommerce error: Invalid VAT Rate API response: 'Forbidden'
  • src/addons/DBTech/eCommerce/Repository/Country.php:294
  • Generated by: developr
  • Jul 17, 2021 at 10:47 AM

Stack trace​

#0 src/addons/DBTech/eCommerce/Repository/Address.php(50): DBTech\eCommerce\Repository\Country->validateVatIdForCountry('DE328675180', 'DE')
#1 src/addons/DBTech/eCommerce/Service/Address/Create.php(110): DBTech\eCommerce\Repository\Address->validateVatId('DE328675180', Object(DBTech\eCommerce\Entity\Address), NULL)
#2 src/XF/Service/ValidateAndSavableTrait.php(17): DBTech\eCommerce\Service\Address\Create->_validate()
#3 src/addons/DBTech/eCommerce/Pub/Controller/Checkout.php(383): DBTech\eCommerce\Service\Address\Create->validate(NULL)
#4 src/XF/Mvc/Dispatcher.php(350): DBTech\eCommerce\Pub\Controller\Checkout->actionAddress(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('DBTech\\eCommerc...', 'Address', Object(XF\Mvc\RouteMatch), Object(DBTech\eCommerce\Pub\Controller\Checkout), NULL)
#6 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\eCommerce\Pub\Controller\Checkout), NULL)
#7 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#9 src/XF.php(512): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state​

array(4) {
["url"] => string(44) "/community/dbtech-ecommerce/checkout/address"
["referrer"] => string(57) "https://www.m2n.co.uk/community/dbtech-ecommerce/checkout"
["_GET"] => array(0) {
}
["_POST"] => array(14) {
["title"] => string(16) "Forumhelden GmbH"
["business_title"] => string(16) "Forumhelden GmbH"
["business_co"] => string(0) ""
["address1"] => string(13) "Kiefernweg 15"
["address2"] => string(16) "25469 Halstenbek"
["address3"] => string(0) ""
["address4"] => string(0) ""
["country_code"] => string(2) "DE"
["sales_tax_id"] => string(11) "DE328675180"
["is_default"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(36) "/community/dbtech-ecommerce/checkout"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
then a minute later:
  • Swift_TransportException: Email to stuart@m2n.co.uk failed: Failed to authenticate on SMTP server with username "AKIAJ57GXO4IYQUYANIA" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 Signature Version 2 is deprecated for use with SES from March 26, 2021. From that date on, we are progressively rejecting such requests. To resolve the issue, you must migrate to Signature Version 4. If you created your SMTP credentials in the SES Console, please create new credentials and replace the former ones. If you are deriving Signature Version 2 credentials from a IAM user, please start using the Signature Version 4 algorithm: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html ". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535 Signature Version 2 is deprecated for use with SES from March 26, 2021. From that date on, we are progressively rejecting such requests. To resolve the issue, you must migrate to Signature Version 4. If you created your SMTP credentials in the SES Console, please create new credentials and replace the former ones. If you are deriving Signature Version 2 credentials from a IAM user, please start using the Signature Version 4 algorithm: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html ".
  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php:191
  • Generated by: Unknown account
  • Jul 17, 2021 at 10:48 AM

Stack trace​

#0 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php(371): Swift_Transport_Esmtp_AuthHandler->afterEhlo(Object(XF\Mail\SmtpTransport))
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(148): Swift_Transport_EsmtpTransport->doHeloCommand()
#2 src/XF/Mail/Mailer.php(286): Swift_Transport_AbstractSmtpTransport->start()
#3 src/XF/Mail/Queue.php(138): XF\Mail\Mailer->send(Object(Swift_Message), Object(XF\Mail\SmtpTransport), Array)
#4 src/XF/Job/MailQueue.php(12): XF\Mail\Queue->run(8)
#5 src/XF/Job/Manager.php(258): XF\Job\MailQueue->run(8)
#6 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 8)
#8 job.php(43): XF\Job\Manager->runQueue(false, 8)
#9 {main}

Request state​

array(4) {
["url"] => string(18) "/community/job.php"
["referrer"] => string(89) "https://www.m2n.co.uk/community/conversations/i-require-access-to-purchase-a-license.144/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
then a minute later
  • UnexpectedValueException: eCommerce error: Invalid VAT Rate API response: 'Forbidden'
  • src/addons/DBTech/eCommerce/Repository/Country.php:294
  • Generated by: developr
  • Jul 17, 2021 at 10:49 AM

Stack trace​

#0 src/addons/DBTech/eCommerce/Repository/Address.php(50): DBTech\eCommerce\Repository\Country->validateVatIdForCountry('DE328675180', 'DE')
#1 src/addons/DBTech/eCommerce/Pub/Controller/Checkout.php(231): DBTech\eCommerce\Repository\Address->validateVatId('DE328675180', Object(DBTech\eCommerce\Entity\Address), NULL)
#2 src/XF/Mvc/Dispatcher.php(350): DBTech\eCommerce\Pub\Controller\Checkout->actionUpdate(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('DBTech\\eCommerc...', 'Update', Object(XF\Mvc\RouteMatch), Object(DBTech\eCommerce\Pub\Controller\Checkout), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\eCommerce\Pub\Controller\Checkout), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#7 src/XF.php(512): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state​

array(4) {
["url"] => string(48) "/community/dbtech-ecommerce/checkout/update/682/"
["referrer"] => string(57) "https://www.m2n.co.uk/community/dbtech-ecommerce/checkout"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["coupon_code"] => string(0) ""
["sales_tax_id"] => string(11) "DE328675180"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(36) "/community/dbtech-ecommerce/checkout"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
According to the status page, the service should be restored. On the 17th, between 10am and noon (probably CEST), the service for Germany was unavailable.
 
Hello @Spinball,

We hope your ticket regarding DragonByte eCommerce has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte eCommerce

XenForo 2.0.6+ XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,030
Customer rating
4.86 star(s) 7 ratings
Back
Top