Download the PHP package lahza/payment-gateway without Composer
On this page you can find all versions of the php package lahza/payment-gateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lahza/payment-gateway
More information about lahza/payment-gateway
Files in lahza/payment-gateway
Package payment-gateway
Short Description A robust Laravel payment gateway package developed by Palestinian developer Khalil Khasseb
License MIT
Informations about the package payment-gateway
Lahza Payment Gateway
A Laravel package for seamless integration with the Lahza Payment Gateway. Process payments, handle webhooks, and manage transactions with ease.
Author
Khalil Khasseb
📍 Palestine - Aroura
✉️ [email protected]
💻 GitHub Profile
Features (Updated)
- 💰 Automatic currency conversion (USD/ILS/JOD)
- 🔒 Conditional webhook handling
- 🧩 Data Transfer Objects (DTOs) for API responses
- 🚦 Improved validation error messages
Configuration (Updated)
Add to your .env:
bash
composer require lahza/payment-gateway
bash
php artisan vendor:publish --provider="Lahza\PaymentGateway\LahzaServiceProvider" --tag="lahza-config"
env
LAHZA_API_KEY=your_api_key
LAHZA_BASE_URL=https://api.lahza.io/v1/
LAHZA_WEBHOOK_SECRET=your_webhook_secret
LAHZA_TIMEOUT=15
LAHZA_RETRIES=3
LAHZA_CURRENCIES=USD,EUR,GBP
json
{
"error": "validation_error",
"message": "Validation failed for 2 fields",
"error_code": 422,
"documentation": "https://api-docs.lahza.io/errors/422",
"errors": {
"amount": ["Must be at least 0.5"],
"currency": ["Invalid currency"]
}
}
## Testing
Enable fake mode:
## TODO: Future Enhancements
- [ ] Add support for recurring payments
- [ ] Implement payment method management
- [ ] Add currency conversion utilities
- [ ] Support 3D Secure payments
- [ ] Create admin dashboard integration
- [ ] Add more test coverage
- [ ] Implement rate limiting
- [ ] Add payment dispute handling
- [ ] Support multiple API versions
- [ ] Add PCI-compliant card storage
- [ ] Develop mobile SDK integration
- [ ] Create webhook event factory
- [ ] Add payment analytics
- [ ] Support marketplace split payments
- [ ] Implement payment retry logic
## Documentation
Full API documentation available at [Lahza API Docs](https://api-docs.lahza.io)
## Contributing
1. Fork the project
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit changes (`git commit -m 'Add some amazing feature'`)
4. Push to branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
## Security
If you discover any security issues, please email:
🔒 [[email protected]](mailto:[email protected])
instead of using the issue tracker.
## License
The MIT License (MIT). See [LICENSE](LICENSE) for more information.All versions of payment-gateway with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^9.0|^10.0
ext-json Version *