mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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)
|
public function completeOffsitePurchase($input)
|
||||||
{
|
{
|
||||||
if ($accountGateway->isGateway(GATEWAY_PAYFAST) && Request::has('pt')) {
|
parent::completeOffsitePurchase([
|
||||||
$token = Request::query('pt');
|
'token' => Request::query('pt')
|
||||||
}
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@ use App\Models\InvoiceDesign;
|
|||||||
use App\Models\Client;
|
use App\Models\Client;
|
||||||
use App\Models\Contact;
|
use App\Models\Contact;
|
||||||
use App\Models\Product;
|
use App\Models\Product;
|
||||||
|
use App\Models\DateFormat;
|
||||||
use Faker\Factory;
|
use Faker\Factory;
|
||||||
|
|
||||||
class UserTableSeeder extends Seeder
|
class UserTableSeeder extends Seeder
|
||||||
@ -42,6 +43,7 @@ class UserTableSeeder extends Seeder
|
|||||||
'primary_color' => $faker->hexcolor,
|
'primary_color' => $faker->hexcolor,
|
||||||
'timezone_id' => 1,
|
'timezone_id' => 1,
|
||||||
'company_id' => $company->id,
|
'company_id' => $company->id,
|
||||||
|
//'date_format_id' => DateFormat::all()->random()->id,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$user = User::create([
|
$user = User::create([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user