No description
Find a file
2019-09-19 15:15:19 +05:30
.gitignore Initial commit 2019-09-13 10:32:23 +05:30
config.py Improve logging 2019-09-14 21:56:08 +05:30
Pipfile Add parsedatetime to pipenv 2019-09-19 11:00:00 +05:30
Pipfile.lock Add parsedatetime to pipenv 2019-09-19 11:00:00 +05:30
README.md Supply app port via config 2019-09-13 12:07:53 +05:30
stripe_utils.py Supply interval param for creating the subscription 2019-09-19 15:13:56 +05:30
ucloud_pay.py Add get_user_friendly_product 2019-09-19 15:15:19 +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