1.0.0 • Published 11 months ago

smartypay-subscriptions-demo-react v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

SmartyPay Subscriptions React Demo

Demo Next.js project with

Load and fast start on localhost:3000

> npm install
> npm run dev

Live demo

server demo link

Api config

file: ./src/index.js

API_URL - SmartyPay server api url
API_KEY - Merchant api key
API_SECRET - Merchant api secret

Common actions examples:

Backend side (with Node SDK)

  • Get subscriptions plans: example
  • Get users subscriptions by its address: example
  • Create subscription: example

Frontend side