Skip to content
/ COP Public

COD (cash on delivery) Online Payment Link

Notifications You must be signed in to change notification settings

maelzx/COP

Repository files navigation

Visitor Count

COP - (COD Online Payment Link)

Why ?

This simple payment system developed to cater for specific needs of cod practice where payment is made during/before delivery of an item. It is basically just a simple payment on web.

Integration

  • Integrate with Billplz
  • Integrate with Stripe Checkout

How to use ?

  • First you clone this repo
  • Run npm install command
$ npm install
  • Edit sample.env & put in needed value and save it as .env
BILLPLZSECRETKEY= <PUT IN YOUR BILLPLZ SECRET KEY HERE >
BILLPLZCOLLECTIONKEY= <PUT IN YOUR BILLPLZ COLLECTION CODE HERE>
SYSTEMURL=https://domain.com/ <CONFIGURE YOUR DOMAIN>
  • Edit ketetapan_ahli/sample.json ad save as "username.json" the filename will become your login username
{"kata_laluan" : "value is just md5 hash text for your password",
"nama_agent": "is just a string"}
  • run node
$ node index.js

Todo

  • To properly handle all the error
  • To add listing of url created
  • To add in proper setting of sitting behind nginx proxy
  • To properly handle and check for correct phone number

About

COD (cash on delivery) Online Payment Link

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published