Closed aashishgurung closed 1 year ago
Fix Uncaught Error: Call to a member function getShopeeBackend() on null issue.
Uncaught Error: Call to a member function getShopeeBackend() on null
Jira Ticket: #857
In getSource method of Omise_Payment_ShopeePay class, we added a check whether capabilities is null or not. If it's null then return shopeepay source type as default.
getSource
Omise_Payment_ShopeePay
null
shopeepay
Remove the keys.
1. Objective
Fix
Uncaught Error: Call to a member function getShopeeBackend() on null
issue.Jira Ticket: #857
2. Description of change
In
getSource
method ofOmise_Payment_ShopeePay
class, we added a check whether capabilities isnull
or not. If it's null then returnshopeepay
source type as default.3. Quality assurance
Remove the keys.