Added Ezypayment next payment check
This commit is contained in:
@@ -4,11 +4,9 @@ namespace App\Console\Commands;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
|
||||
use App\Classes\Payments\Ezypay;
|
||||
use App\Models\{Account,AccoutBilling,Checkout,Payment};
|
||||
use App\Models\{Account,Checkout,Payment};
|
||||
|
||||
class EzypayImport extends Command
|
||||
{
|
||||
@@ -43,12 +41,6 @@ class EzypayImport extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
/*
|
||||
DB::listen(function($query) {
|
||||
$this->warn('- SQL:'.json_encode(['sql'=>$query->sql,'binding'=>$query->bindings]));
|
||||
});
|
||||
*/
|
||||
|
||||
$poo = new Ezypay();
|
||||
|
||||
// Get our checkout IDs for this plugin
|
||||
@@ -110,7 +102,6 @@ class EzypayImport extends Command
|
||||
$this->info(sprintf('Recorded: Payment for [%s] %s %s (%s) on %s',$c->EzypayReferenceNumber,$c->Firstname,$c->Surname,$po->id,$pd));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user