(20241217) payment reference will now be the same as the payment id.

This commit is contained in:
2024-12-17 15:57:13 +05:30
parent d24d9cc248
commit 2e0c0224d4
15 changed files with 93 additions and 69 deletions
@@ -166,7 +166,7 @@ async def payment_list(
# ┗┛┛┗┗┗┛┗ ┛ ┗┗┻┗┗┛
# Get the token ids from the token keys:
auth_tokens = await current_app.payment_controller.get_tokens(
auth_tokens = await current_app.payment_controller.get_tokens_from_keys(
mongo_conn = current_app.data_mongo,
token_keys = inbound_data.tokenKeys
)
@@ -167,7 +167,7 @@ async def request_payment(
# ┗ ┛
# Get the token from the token key:
auth_token = await current_app.payment_controller.get_token(
auth_token = await current_app.payment_controller.get_token_from_key(
mongo_conn = current_app.data_mongo,
token_key = inbound_data.tokenKey
)