Skip to content

Commit

Permalink
Merge pull request #30 from PSNAppz/1.0.0
Browse files Browse the repository at this point in the history
Return random account phone and email
  • Loading branch information
venky-ganapathy authored Sep 19, 2024
2 parents 1bc66d7 + 27577c6 commit ef32205
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,13 @@ def construct_credit_account_details(initiate_payment_request: InitiatePaymentRe
initiate_payment_request.beneficiary_email,
)
else:
random_id = str(uuid.uuid4())
random_phone = f"254{random.randint(700000000, 799999999)}"
return (
f"CLEARING - {initiate_payment_request.beneficiary_bank_code}",
f"Clearing account for {initiate_payment_request.beneficiary_bank_code}",
None,
None,
random_phone,
f"{random_id}@email.com",
)


Expand Down

0 comments on commit ef32205

Please sign in to comment.