Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Commit 2552830

Browse files
committed
Convert ssc API argument to str for checking
1 parent e25e25a commit 2552830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

framework/isobot/isocard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def requestpayment():
5151
ssc = args.get("ssc")
5252
amount = args.get("amount")
5353
merchant_id = args.get("merchantid")
54-
if isocards[str(card_number)]["ssc"] == ssc:
54+
if str(isocards[str(card_number)]["ssc"]) == ssc:
5555
verification_code = generate_verification_code()
5656
user_id = isocards[str(card_number)]["cardholder_user_id"]
5757
transactions_db[str(verification_code)] = {

0 commit comments

Comments
 (0)