-
Notifications
You must be signed in to change notification settings - Fork 331
Open
Description
I am trying to use this package in a Laravel/Inertia Vue3 application and getting a CORS error for the redirect.
Here is my controller:
class PaystackController extends Controller
{
public function redirect()
{
return paystack()->getAuthorizationUrl(
['amount' => 220000, 'email' => auth('web')->user()->email]
)->redirectNow();
}
}
Anyone with a similar issue? How was it resolved?
NOTE: The project uses Laravel Breeze with the Sanctum
package for authentication.
Metadata
Metadata
Assignees
Labels
No labels