receiver
receiver copied to clipboard
Stripe Driver Not Recognized?
I've installed the latest version running on Laravel 9 and PHP 8.1.
I'm getting this error message when trying to use the stripe driver:
InvalidArgumentException: Driver [stripe] not supported.
Not sure what I'm doing wrong or if this is a bug.
My implementation:
<?php
namespace App\Http\Controllers\Webhooks;
use Illuminate\Http\Request;
use Receiver\Facades\Receiver;
use App\Http\Controllers\Controller;
class WebhooksController extends Controller
{
public function store(Request $request)
{
Receiver::driver('stripe')
->receive($request)
->ok();
}
}
It's easy to miss, but I mentioned in the docs that the Stripe receiver requires you to install the SDK:
https://github.com/hotmeteor/receiver#installation
Hey, thanks for replying. I do have the Stripe SDK installed already. Is it a specific version?
Here's what's in my composer.json file
"stripe/stripe-php": "^7.113",
@nkeena Fixed it, there was a regression in the Manager. Thanks!