Do not report errors via setStatus() - this is done by the calling function if required.
Explicitly get the payment processor type details - $this->_paymentProcessor['api.payment_processor_type.getsingle'] is not available in most(?) cases. (Eg. when called from \Civi\Payment\System::getByProcessor()
setStatus()
- this is done by the calling function if required.$this->_paymentProcessor['api.payment_processor_type.getsingle']
is not available in most(?) cases. (Eg. when called from\Civi\Payment\System::getByProcessor()