Laravel Packages
1 min read
PayZephyr: One Payment API for Stripe, Paystack, and PayPal
PayZephyr unifies Stripe, Paystack, and PayPal into a single, elegant Laravel payment abstraction with multi-currency checkouts and standardized webhook processing.
Unified Global Payments with PayZephyr
Integrating multiple payment providers across international markets usually requires implementing separate SDKs, diverging webhook listeners, and inconsistent data models. PayZephyr provides a single, unified payment interface for Laravel that connects Stripe, Paystack, and PayPal seamlessly.
Key Features
- Single Fluent API: Charge cards, initialize checkouts, and generate payment links using identical PHP syntax across all supported gateways.
- Standardized Webhook Dispatching: Unifies gateway-specific webhook events into consistent Laravel events (e.g.
PaymentReceived,SubscriptionRenewed). - Automatic Currency Routing: Routes payments to the most cost-effective gateway based on customer country and currency.
Initiating a Payment
use PayZephyr\Facades\PayZephyr;
$payment = PayZephyr::gateway('stripe')
->amount(49.99)
->currency('USD')
->customer($user)
->description('Monthly SaaS Pro Plan')
->checkout();
return redirect($payment->checkoutUrl());