No description
Find a file
2019-09-13 23:37:25 +05:30
.gitignore Initial commit 2019-09-13 10:32:23 +05:30
config.py Supply app port via config 2019-09-13 12:07:53 +05:30
Pipfile Add pyotp, requests and stripe 2019-09-13 23:37:25 +05:30
Pipfile.lock Add pyotp, requests and stripe 2019-09-13 23:37:25 +05:30
README.md Supply app port via config 2019-09-13 12:07:53 +05:30
ucloud-pay.py Supply app port via config 2019-09-13 12:07:53 +05:30

ucloud-pay

The pay module for the ucloud

Getting started

pipenv shell
pipenv install
ETCD_HOST=127.0.0.1 ETCD_PORT=2379 python ucloud-pay.py

Currently handles very basic features, such as:

  1. Adding of products
curl http://ucloud-pay-server:5000/product/add -XPOST --data '-name mravi --realm test --seed testseed --product-name "IPV6 VPN" --product-description="YEARLY IPV6 subscription" --product-type=recurring --product-recurring-duration=31536000 --product-price=12000'
  1. Listing of products
curl http://ucloud-pay-server:5000/product/list