Accept crypto payments in Laravel
Add non-custodial crypto checkout to your Laravel app: create an invoice, send the buyer to the hosted checkout, and fulfill on a signed webhook. Funds settle straight to your own wallet, $0 platform fees.
Install
composer require shieldz/shieldz
Create an invoice and redirect to checkout
use Shieldz\Shieldz;
$shieldz = new Shieldz(env('SHIELDZ_API_KEY'));
$invoice = $shieldz->invoices->create(['amount_usd_cents' => 5000, 'memo' => 'Order']);
return redirect($invoice['pay_url']);
Verify the webhook
use Shieldz\Webhooks;
$event = Webhooks::constructEvent(
$request->getContent(),
$request->header('X-Shieldz-Signature', ''),
env('SHIELDZ_WEBHOOK_SECRET')
);
if ($event['type'] === 'invoice.paid') { /* fulfill */ }
Full reference: API docs, SDKs, API reference.
Explore Shieldz
Accept a coin: Bitcoin, USDC, USDT, Zcash.
Compare: vs Coinbase Commerce, vs BTCPay Server, vs CryptAPI, vs NOWPayments.
Use cases: For freelancers, For creators, For open-source projects, For online stores.
Build: SDKs, API reference, quickstart. Learn: overview, blog, how it works, supported coins, pricing, is it safe, verify it yourself.