mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-17 16:42:48 +01:00
Fixed PayFast integration
This commit is contained in:
parent
f7e499da4d
commit
ef4c0c4237
@ -6,8 +6,8 @@ class PayFastPaymentDriver extends BasePaymentDriver
|
||||
|
||||
public function completeOffsitePurchase($input)
|
||||
{
|
||||
if ($accountGateway->isGateway(GATEWAY_PAYFAST) && Request::has('pt')) {
|
||||
$token = Request::query('pt');
|
||||
}
|
||||
parent::completeOffsitePurchase([
|
||||
'token' => Request::query('pt')
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ use App\Models\InvoiceDesign;
|
||||
use App\Models\Client;
|
||||
use App\Models\Contact;
|
||||
use App\Models\Product;
|
||||
use App\Models\DateFormat;
|
||||
use Faker\Factory;
|
||||
|
||||
class UserTableSeeder extends Seeder
|
||||
@ -42,6 +43,7 @@ class UserTableSeeder extends Seeder
|
||||
'primary_color' => $faker->hexcolor,
|
||||
'timezone_id' => 1,
|
||||
'company_id' => $company->id,
|
||||
//'date_format_id' => DateFormat::all()->random()->id,
|
||||
]);
|
||||
|
||||
$user = User::create([
|
||||
|
Loading…
Reference in New Issue
Block a user