This repository handles with a several modules to:
- Payment processing
- Credit card processing
- Subscription scheduler
- Clone it
npm install
on project folder
Payment process message:
{
"action": "process_payment",
"id": "catalog_payment_uuid",
"created_at": "2018-02-23T16:31:18.238164"
}
Credit card generation
{
"action": "generate_card",
"id": "credit_card_uuid"
}
GATEWAY_API_KEY='pagarmeapikey' DATABASE_URL='dburl' echo 'msg_structure' | ./main.js
DATABASE_URL='test data base url with common strucutre' npm test