Skip to content

Unofficial Node.js Library for FeelFreePay with helper included to seamlessly integrate into your backend

License

Notifications You must be signed in to change notification settings

chaya-tan/feelfreepay-node-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FeelFreePay Node ts

Unofficial Node.js Library for FeelFreePay with helper included to seamlessly integrate into your backend

Forked from node-gbprimepay and changed to the new endpoint

Note

Still WIP, but contributions are welcome! I only use QR Cash in my work, so other channel still UNTESTED

if you face any bug, feel free to make a PR!

Features

  • Written in TypeScript
  • Does Checksum things for you
  • No more HTML forms in frontend, your secret key will never leak again
  • Tries to replace bad UX HTML pages with direct link to Payment services or App Deeplink

What will the create() method return?

By default the library will tries to parse data from HTML page returned from GB Prime Pay API and will give you a direct link (vary by channel), but you can revert this by set argument raw as true

  • LINEPAY will returns Rabbit LINE Pay Checkout URL Page
  • SHOPEEPAY will returns ShopeePay Checkout URL Page
  • TRUEWALLET will returns ptx_id for requesting OTP with truemoney_sendOtp() or truemoney_resendOtp() then submit using truemoney_submitOtp()
  • MOBILE_BANKING vary by Bank Code
    • 014 will returns SCB EASY App Deeplink scbeasy://
    • 002 will returns Bualuang mBanking App Deeplink bualuangmbanking://

Other channels are untested and will return unparsed HTML/JSON

License

This project is MIT licensed (see LICENSE)

Not affiliated with Global Prime Corporation Co., Ltd. (GB Prime Pay) in any way,

Trademarks belongs to their respective owner.

About

Unofficial Node.js Library for FeelFreePay with helper included to seamlessly integrate into your backend

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%