Redecard (former VisaNet) for Node.js
IMPORTANT: this is work in progress.
This module implements Redecard (former VisaNet) WebSevice Komerci for Node.js.
Redecard is 2nd largest Brazilian credit card processor.
Supported online payment options
- MasterCard®, Diners and Visa® credit cards. Debit cards, such as Visa Electron, are not accepted.
- Pre-authorization or full authorization
- Splitting total amount into several installments
- Additional installment fee applied to either merchant or the user
- Support for Airline Companies, Hotels and Car Rental merchants (untested)
Key features
- Parameter names and return values in English
- Normal POST over HTTPS, no SOAP
- Automatic retries
- Configuration files for request/response field mapping, data type conversion and validation
- Redecard test environment supported
- Online tests
- Evens out some inconsistencies in Redecard API
- Clean and maintainable code
Usage
var redecard = merchant = 'test' 'john.doe' 'secret' details = amount: 001 type: redecardTYPESFULL_PAYMENT installments: 0 supplierId: '36483184' orderId: 'ORDER001' cardNumber: '4111111111111111' cardCode: '123' cardExpMonth: 1 cardExpYear: 2016 cardFullName: 'JOHN DOE' merchant