Download the PHP package rafoabbas/epoint-php without Composer
On this page you can find all versions of the php package rafoabbas/epoint-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rafoabbas/epoint-php
More information about rafoabbas/epoint-php
Files in rafoabbas/epoint-php
Package epoint-php
Short Description Epoint.az Payment Gateway PHP SDK - Online payment integration for Azerbaijan
License MIT
Homepage https://github.com/rafoabbas/epoint-php
Informations about the package epoint-php
Epoint.az Payment Gateway PHP SDK
Modern PHP SDK for integrating Epoint.az payment gateway into your application. Supports standard payments, card tokenization, split payments, preauth, Apple Pay, Google Pay, wallets, and invoices.
Features
- ✅ Standard Payment - Accept online card payments
- ✅ Card Registration - Save cards for future payments (PCI-compliant tokenization)
- ✅ Card Registration with Payment - Register card and process payment in one step
- ✅ Saved Card Payments - Charge saved cards without re-entering details
- ✅ Split Payments - Split payment between multiple merchants (with saved card & registration)
- ✅ Preauth - Hold funds before capture (authorization + completion)
- ✅ Refunds & Reversals - Full or partial refunds, transaction cancellation
- ✅ Apple Pay & Google Pay - Digital wallet integration
- ✅ Wallets - Support for local e-wallets
- ✅ Invoices - Create and send payment invoices
- ✅ Signature Verification - Secure callback validation
- ✅ Type-safe - Full PHP 8.2+ type coverage with enums
- ✅ Fluent API - Clean, readable builder pattern
📚 Documentation
For detailed documentation, guides, and advanced usage examples, visit our GitHub Wiki.
Quick Links:
- 🚀 Getting Started Guide
- 💳 Payment Methods
- 🔐 Security & Signature Verification
- 🔄 Refunds & Reversals
- 📱 Digital Wallets (Apple Pay, Google Pay)
- 🧪 Testing Guide
- ❓ FAQ & Troubleshooting
Official Epoint API Documentation:
Official Platform Plugins
Use the ready-made plugins below if you need to integrate Epoint into popular e-commerce platforms without writing a custom integration from scratch:
Requirements
- PHP 8.2 or higher
- ext-json
- ext-curl
Installation
Quick Start
1. Initialize Client
2. Create Payment
3. Handle Callback
Usage Examples
Standard Payment
Check Payment Status
Card Registration
Card Registration with Payment
Payment with Saved Card
Refund
Reverse/Cancel Transaction
Split Payment
Preauth (Hold Funds)
Apple Pay / Google Pay
Wallets
Invoices
Heartbeat Check
API Reference
EpointClient Methods
| Method | Description |
|---|---|
payment() |
Create standard payment request |
checkStatus() |
Check payment status |
registerCard() |
Register card without payment |
registerCardWithPay() |
Register card with payment in one step |
savedCardPayment() |
Payment with saved card |
refund() |
Refund payment |
reverse() |
Reverse/cancel transaction |
splitPayment() |
Split payment between merchants |
splitCardPayment() |
Split payment with saved card |
splitCardRegistrationWithPay() |
Register card with split payment |
preauth() |
Preauth (hold and capture) |
widget() |
Apple Pay / Google Pay widget |
wallet() |
Wallet operations |
invoice() |
Invoice management |
heartbeat() |
API health check |
verifyCallback() |
Verify callback signature |
Working with Response Objects
All API methods return response objects with convenient getter methods and full data access:
Available methods on response objects:
Pro tip: Use ->toArray() for debugging or logging full API responses:
Important: If you encounter any issues with a payment or API request, always include the trace_id when contacting Epoint support. This unique identifier helps them quickly locate and troubleshoot your specific transaction:
php use Epoint\Enums\Currency; use Epoint\Enums\Language; use Epoint\Enums\PaymentStatus;
Currency::AZN Language::AZ | Language::EN | Language::RU PaymentStatus::NEW | PaymentStatus::SUCCESS | PaymentStatus::ERROR bash composer test bash composer cs:fix # Fix code style composer cs:check # Check code style composer analyse # Run static analysis
## Security
- All API requests are signed with SHA1 HMAC signatures
- Callback responses are verified to prevent tampering
- Never store raw card data - use tokenization
- Use HTTPS in production
- Keep your private key secure
## Changelog
See [CHANGELOG.md](CHANGELOG.md)
## License
MIT License. See [LICENSE](LICENSE) for details.
## Credits
- [Rauf Abbaszade](https://github.com/rafoabbas)
## Support
- [GitHub Issues](https://github.com/rafoabbas/epoint-php/issues)
- [Epoint Documentation](https://epoint.az)All versions of epoint-php with dependencies
ext-json Version *
ext-curl Version *