mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-07-07 12:16:30 +00:00
fix(billing): remove +5 minutes for payment verification payload 🐛
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m11s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m11s
This commit is contained in:
@ -383,9 +383,7 @@ class VerifyTopupPaymentAPIView(StaffEditorPermissionMixin, generics.UpdateAPIVi
|
|||||||
"benefName": f"{user.first_name} {user.last_name}", # type: ignore
|
"benefName": f"{user.first_name} {user.last_name}", # type: ignore
|
||||||
"accountNo": user.acc_no, # type: ignore
|
"accountNo": user.acc_no, # type: ignore
|
||||||
"absAmount": topup_instance.amount,
|
"absAmount": topup_instance.amount,
|
||||||
"time": localtime(
|
"time": localtime(topup_instance.created_at).strftime("%Y-%m-%d %H:%M"),
|
||||||
topup_instance.created_at + timedelta(minutes=5)
|
|
||||||
).strftime("%Y-%m-%d %H:%M"),
|
|
||||||
}
|
}
|
||||||
logger.info(
|
logger.info(
|
||||||
f"Verifying topup payment created at {topup_instance.created_at} with data: {data}"
|
f"Verifying topup payment created at {topup_instance.created_at} with data: {data}"
|
||||||
|
Reference in New Issue
Block a user