NodeJs
#
1. InstallYou can use package manager to install ksher-pay SDK.
#
1.1. npm#
1.2. yarn#
2. How to use#
2.1. Prepare the configuration data#
2.2. Import the SDK and initialize#
2.3. Create new order#
2.4. Query order status#
2.5. Refund#
2.6. Create new order for alipay miniapp#
2.6.1. Get orderStr#
2.6.2. Pay in alipay miniapp#
2.7. Verify signatureVerify signature from the webhook request
#
3. ReferenceThe source code of the SDK is hosted in github, you are welcome to raise issue and PR.