From c744ba113404133ffa0078438937c5bdd0a7d22b Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 19 Sep 2019 22:04:53 +0530 Subject: [PATCH] Update README to include creating one-time payment products --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 29ed1d8..e6df687 100755 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ ``` ### Adding new products + +##### Recurring product (subscription) ``` (ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=http://127.0.0.1:5000 python ucloud.py product add \ --name xxxxxxxxxxxx \ @@ -32,6 +34,18 @@ ``` +##### One-time payment product +``` +(ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=https://ucloud-pay-dev.ungleich.ch python ucloud.py product add \ +--name xxxxxxxxxxxx \ +--realm xxxxxxxxxxxx \ +--seed xxxxxxxxxxxx \ +--product-name "One time membership" \ +--product-description="One time membership fees" \ +--product-type=one-time \ +--product-price=3500 +``` + ### Register a payment method (cc for now) ```