-
Notifications
You must be signed in to change notification settings - Fork 9
Home

The JazzCash Payment Gateway Package is a Laravel package that simplifies integration with JazzCash payment gateway. This package provides a secure and convenient method for merchants to accept online payments through JazzCash's hosted checkout feature.
- Installation Guide - Step-by-step installation instructions
- Configuration Guide - Environment and configuration setup
- Getting Started - Quick start tutorial with code examples
- Understanding Hosted Checkout - Complete guide for hosted checkout integration
- API Reference - Complete API method documentation
- Payment Flow - Detailed payment flow documentation
- Testing Guide - Testing documentation
- Troubleshooting - Common issues and solutions
- Security Best Practices - Security guidelines
- Contributing - Contribution guidelines
- Hosted Checkout - Secure redirect-based payment processing
- Easy Integration - Simple API with method chaining
- Sandbox Support - Test payments in sandbox mode
- Production Ready - Secure hash generation and validation
- Type Safe - Full type declarations for better IDE support
- Well Tested - Comprehensive test suite included
- Security - HTML escaping and input validation
composer require zfhassaan/jazzcashuse zfhassaan\JazzCash\JazzCash;
$jazzcash = new JazzCash();
$jazzcash->setAmount(1000.00)
->setBillReference('ORDER-12345')
->setProductDescription('Product Purchase');
return $jazzcash->sendRequest();- PHP 8.1 or higher
- Laravel 9.0, 10.0, 11.0, or 12.0
- JazzCash merchant account with:
- Merchant ID
- Password
- Hash Key
- Sandbox/Production URLs
This is an unofficial JazzCash API Payment Gateway package. This repository is created to help developers streamline the integration process. You can review the official JazzCash documentation here.
Note: This package currently covers Hosted Checkout process only. Direct checkout and subscription functionality may be added in future releases.
- Issues: GitHub Issues
- Email: zfhassaan@gmail.com
The MIT License (MIT). Please see LICENSE.md for more information.
Thank you for using the JazzCash Payment Gateway Package! If you have any questions or need assistance, please refer to the documentation pages above or contact support.