42-cent
42-cent copied to clipboard
Integrated Payeezy
Add Payeezy Gateway Integration
Description
This PR adds support for First Data's Payeezy payment gateway to the 42-cent payment processing module. The integration enables processing credit card transactions, refunds, and voids through the Payeezy API while maintaining consistency with 42-cent's existing gateway implementations.
Features
- Full Payeezy API integration with support for:
- Credit card transaction processing
- Refund transactions
- Void transactions
- HMAC authentication for secure API calls
- Support for both sandbox and production environments
- Automatic card type detection
- Comprehensive billing address handling
- Error handling and response formatting
Implementation Details
- Added PayeezyGateway.js in the
lib
directory - Extended the supported gateways list in index.js
- Added required dependencies (crypto, bluebird, lodash)
- Updated documentation with Payeezy configuration and usage examples
Usage Example
const gateway = Gateways.use('Payeezy', {
apiKey: 'your-api-key',
apiSecret: 'your-api-secret',
merchantToken: 'your-merchant-token',
environment: 'sandbox'
});