Details
- 
        Type:
 Bug
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Fixed
 - 
            Affects Version/s: 5.11.0-b3
 - 
            Fix Version/s: 5.11.0
 - 
            Component/s: None
 - 
            Labels:None
 
Description
To reproduce:
- Make sure stripe payments is installed (likely affects other gateways) and assign usd
 - Create an invoice for usd
 - In the admin interface click to pay
 - Enter test details into the form
 - Continue until you encounter the error "The payment type is not supported for this gateway"
 
In app/views/admin/default/admin_tools_logservicechanges.php around line 46, change from
                            if ($transaction->type == 'credit') {
To
                            if ($transaction->transaction_type == 'credit') {
In app/models/transactions.php around line 248, change from
            'transaction_types.name' => 'type_name', 'transaction_types.type' => 'type'
To
            'transaction_types.name' => 'type_name', 'transaction_types.type' => 'transaction_type'