Article ID: 129533, created on Sep 28, 2016, last review on Sep 28, 2016

  • Applies to:
  • Business Automation 6.0

Symptoms

On-line store is configured to show domain contacts on the checkout screen (DOMAIN_CONTACTS_ON_CHECKOUT is set to true). After upgrade to BA 6.0.x (from 5.5.x) it became not possible to place a domain order, blank screen appears after clicking "Place Order" button. In the apache error log there is an exception:

PHP Fatal error:  Call to undefined method STP::GetVendorOrAccountID() in /usr/local/bm/templatestore/views/checkout.inc on line 1362

Cause

The issue is caused by the bug with id #PBA-76503 ("Blank screen on checkout in store during domain registration").

Resolution

Until the bug is fixed apply a workaround:

in the file /usr/local/bm/templatestore/views/checkout.inc change

$this->config->countryList = $stp->GetCountryList_API($stp->GetVendorOrAccountID($VendorID));

to

$this->config->countryList = $stp->GetCountryList_API($stp->GetVendorOrResellerID($VendorID));

The workaround is to be reapplied after each update installation.

Search Words

Call to undefined method STP::GetVendorOrAccountID()

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF