The GlobalPayments\Api\HostedPaymentConfig class defines several getter methods which are incorrect because they're missing the $this->. For example:
public function isCardStorageEnabled()
{
return $cardStorageEnabled;
}
This method doesn't work, as it's returning a nonexistent variable (and generates a PHP undefined variable notice). It should be calling return $this->cardStorageEnabled instead.
This is the same for all the other getter methods in the class.
The
GlobalPayments\Api\HostedPaymentConfig
class defines several getter methods which are incorrect because they're missing the$this->
. For example:This method doesn't work, as it's returning a nonexistent variable (and generates a PHP undefined variable notice). It should be calling
return $this->cardStorageEnabled
instead.This is the same for all the other getter methods in the class.