use relative path for callbackUrl

This commit is contained in:
cnohall 2024-12-03 11:53:25 +09:00
parent 7d886c82e5
commit 858d72adae
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class PaymentLibrariesSeeder extends Seeder
// Generate a random callback secret for Blockonomics users
$callbackSecret = Str::random(32);
// Generate a callback URL for Blockonomics users
$callbackUrl = config('ninja.app_url') . '/payment_webhook/?secret=' . $callbackSecret;
$callbackUrl = '/payment_webhook/?secret=' . $callbackSecret;
$gateways = [
['id' => 1, 'name' => 'Authorize.Net', 'provider' => 'Authorize', 'sort_order' => 5, 'key' => '3b6621f970ab18887c4f6dca78d3f8bb', 'fields' => '{"apiLoginId":"","transactionKey":"","testMode":false,"developerMode":false,"liveEndpoint":"https:\/\/api2.authorize.net\/xml\/v1\/request.api","developerEndpoint":"https:\/\/apitest.authorize.net\/xml\/v1\/request.api"}