When displaying Payments in a ModelAdmin, Payment.php:238 causes error due to Missing localisation key:
/**
* Get the payment status. This will return a localized value if available.
* @return string the payment status
*/
public function getPaymentStatus()
{
// return _t('SilverStripe\Omnipay\Model\Payment.STATUS_' . strtoupper($this->Status), $this->Status);
return $this->Status;
}
When displaying Payments in a ModelAdmin, Payment.php:238 causes error due to Missing localisation key: