ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Report Updated: 2022-09-24
2
Tasks -cBilling
3
DONE
4
Task IDTask NameStatusTask ContentAssigneePriorityLatest CommentComment CountAssigned Comment CountDue DateStart DateDate CreatedDate UpdatedDate ClosedCreated BySpaceFolderListtagsListsSprintsTime LoggedTime EstimatePoints EstimatePoints Estimate Rolled Up
5
2vkvgdbInit projects at gitlabDONEInit projects at gitlab
NGUYEN BAO HOA, VU PHI CO
0008/01/202208/24/202208/24/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
6
2vkvgmkConfig servers, database, SSL, CI/CDDONEConfig servers, database, SSL, CI/CD
VU PHI CO, NGUYEN BAO HOA
0008/01/202208/24/202208/24/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
7
2u5z1qgLogin api&pageDONELogin by email/pass.
GaCold, Thi Phung
0008/24/202208/15/202208/25/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
8
2u5z234Logout api&pageDONELogout only current place.
Logout from everywhere.
GaCold, Thi Phung
0008/24/202208/15/202208/25/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
9
2u5z2d9Login with google, facebook api&pageDONE
GaCold, Thi Phung
0008/24/202208/15/202208/25/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
10
2u5z2kkUser profile api&pageDONEReturn result : email. user full name,...
GaCold, Thi Phung
0008/24/202208/15/202208/25/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
11
2u5z3kgRegister user (attempt step1) api&pageDONEWhen user sent a request to, temple save into database, end then send a mail.


user/register/attemp: email
GaCold, Thi Phung
0008/24/202208/15/202208/25/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
12
2u5z3qyRegister user (confirm step2) api&pageDONEOnly for user has attemped, registed and save into database

user/register/confirm: email, password, opt code, name,...
GaCold, Thi Phung
0008/24/202208/15/202208/25/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
13
2u5z59kReset password api&pageDONEIn the case: user have a password: Show 3 row (old pass ➝ new pass ➝ confirm new pass)
In the case: user not yet a password: Show 2 row (new pass ➝ confirm new pass)

Consider whether you need to send an email to the user?
Thi Phung, GaCold
0008/24/202208/15/202208/25/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
14
2vkvf3kDelete user_detail, merge to user tableDONEThe user_detail table is no longer needed because I don't use coredb, so the user table will be separate, not shared between projects anymore.
➝ Delete the user_detail table, then merge the fields to the user table.
GaCold0008/24/202208/24/202208/30/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
15
3cybqx3Allow cancel order from user side (1h)DONEDiscussion: Currently there is a timeout of 15 minutes for each transaction, should users be allowed to cancel that transaction immediately?
Refer to zalopay: https://docs.zalopay.vn/v1/docs/gateway/demo.html

POST: api/orders/{order_code}/cancel
GaCold0008/31/202209/05/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
16
3c7d5gjImpl pay with cbilling internal walletDONERef: https://drive.google.com/drive/folders/18ETP1NLYOscKS3dKUGOw-NC6Is0sd8No

Flow user payment with internal wallet (cbilling wallet):
- User access to 1 webshop support by cBilling payment.
- - User buys and pays
  -> choice cbilling payment method
  -> redirect to payment page
  -> User click CBILLING_PAYMENT_BUTTON
  -> cbilling need to show login
  -> User login -> User enter OTP -> cbilling next to show a bill info (100 ADA)
  -> User click Accept button -> cbilling close popup
  -> cbilling call js function and transmit to BILLING_TOKEN to shop
  ->Shop call paid api with the above token to deduct some User accounts.
Thi Phung, GaCold
0008/31/202208/25/202209/08/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
17
3d9kqr4Register partner (shop)DONE+ Page fields:
shop_name
email
password

GaCold, Thi Phung
0009/07/202209/01/202209/08/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
18
CODING
19
Task IDTask NameStatusTask ContentAssigneePriorityLatest CommentComment CountAssigned Comment CountDue DateStart DateDate CreatedDate UpdatedDate ClosedCreated BySpaceFolderListtagsListsSprintsTime LoggedTime EstimatePoints EstimatePoints Estimate Rolled Up
20
3dn8fec[API only] Callback when user paid/cancel orderCODING✅ Get order: return timeout (10m).
✅ In case: cancel, result return: status, hmac.
✅ Order_code: remove special characters (/, +, &, ....)

+ Re-add authorize for api/project/add-edit-delete
VU PHI CO0009/14/202209/06/202209/10/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
21
3dn83wtLogin for partner (shop)CODINGLogin by email/password, gg, fb cho partner.
Thi Phung, VU PHI CO
0009/10/202209/06/202209/13/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
22
PENDING
23
Task IDTask NameStatusTask ContentAssigneePriorityLatest CommentComment CountAssigned Comment CountDue DateStart DateDate CreatedDate UpdatedDate ClosedCreated BySpaceFolderListtagsListsSprintsTime LoggedTime EstimatePoints EstimatePoints Estimate Rolled Up
24
3c7d1cpConnect external wallet api&pagePENDING
Currently, each user only has 1 internal wallet for cbilling to allocate.
Desire: allow each user to connect more external wallets (Nami, Yoroi,...).

Api: api/user/wallet/add
Web: Maybe use the lib to connect (https://github.com/dynamicstrategies/cardano-wallet-connector), demo: https://dynamicstrategies.io/wconnector
0008/25/202208/25/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
25
3gb17d0[API] add api_key for each projectPENDINGThe current there is a secret_key, need more api_key (~ access_token) for count api (pricing,...).

header["Authorization"] = "CBILLING_API_KEY api_key"
➝ 401
➝ 200

1000 call ➝ 1 ADA
0009/22/202209/22/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
26
3d9kvfeAPI document for shop developerPENDINGRef: https://developers.appcoins.io/
0009/01/202209/01/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
27
OPEN
28
Task IDTask NameStatusTask ContentAssigneePriorityLatest CommentComment CountAssigned Comment CountDue DateStart DateDate CreatedDate UpdatedDate ClosedCreated BySpaceFolderListtagsListsSprintsTime LoggedTime EstimatePoints EstimatePoints Estimate Rolled Up
29
3d9krtkAdd/Remove partner projectOPENFeature 1: Add new project
Feature 2: Delete a project

+ Fields:
Project name
Callback url
+ Labels:
Api (secret) key
Request count

Layout refer:

GaCold, Thi Phung
0009/14/202209/01/202209/08/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
30
3d9u9kwExport billing as PDF file to clientOPENUpdated 22/09: [PDF] build HTML -> export PDF
HTML ➝ PDF:
WEBAPI: https://www.syncfusion.com/kb/11337/how-to-convert-html-to-pdf-using-web-api-in-net
WEBAPI-Nuget: https://www.nuget.org/packages/Syncfusion.HtmlToPdfConverter.QtWebKit.AspNet.Mvc5/
__MVC: https://help.syncfusion.com/file-formats/pdf/converting-html-to-pdf-in-asp-net-core


+ Info:
Issue invoice for 1 order (payment).
For example, user A purchases goods from shop B with the following order information:
ADA: 200.12
Item: 10 Coca-Cola, 2 Soap, 1 Omo.
The invoice will include the following information:
Shop name
Purchase date
Username (email, name,...)
Price (ADA)
List of Items.

+ WEB: Need 1 button to call api ➝ download pdf from server.

TODO: About the api/billing/order_code_here/export?type=pdf&size=4inch,6inch
Suggested how to: Export pdf trên server ➝ Response file to client.
Ref pdf export: https://help.syncfusion.com/file-formats/pdf/create-pdf-file-in-asp-net-core
Refer: https://medium.com/cryptfolio/tracking-cryptocurrency-payments-in-xero-5d0018056dca
Thi Phung, GaCold
0009/14/202209/02/202209/22/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
31
3gb183z[API] clear todo api/order/create hmac...OPENhmac = secret + items
GaCold0009/28/202209/22/202209/22/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
32
3gawzxt[Api] BUG updated_at does not workOPEN0009/22/202209/22/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
33
3gax22y[Api] Block auth for many try loginOPEN0009/22/202209/22/2022VU PHI COCBillinghidden
Tasks -cbilling
Tasks -cbilling
0
34
35
36
SUMMARYTASK DONE13
37
TASK OPEN5
38
TASK PENDDING3
39
Function completed
40
The software functions of the project were completed within the month.
#End-user function
- Finish the register/authentication user function with gmail/pass
#Partner shop function
- Partner registration, login, profile
- Create and manage projects
#Payment function
- Create order, cancel order
- Pay in ADA coin
41
Function next todo
42
The functions are projected in the upcoming work plan.
#Expected: in scheduled
- Check hmac security when creating an order from a partner according to the secret_key of each project
- Export order detail to PDF files
- Write docs to integrate payment cBilling system
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100