Wipay payment Integration
The wipay-node library provides convenient access to the wipay API from applications written in server-side JavaScript.
See the Wipay API docs.
The package needs to be configured with Production Mode.
###Installation Install the package with:
npm install wipay-node
var wipay = require('wipay-node');
wipay.ProductionMode(true); // production = true, test = false
var paymentData = {
total : "", // "100.00"
phone : "", // "0123456789"
email : "", // "abc@xyz.com"
name : "", // "name"
order_id : "", // "12345"
return_url : "", //"http://localhost:8080/status"
developer_id : "", // developer_id from account or "1" for sandbox
}
let url = await wipay.create_payment(paymentData);
Card Number : 4111111111111111 Card CVV : 123 Expiry Month : 01 Expiry Year : 25
You can mail an issue/query at amansharma5@hotmail.com