Skip to Main Content

Identity & Platform

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

How to verify users ID on video game

Gulshan NegiFeb 16 2024 — edited Feb 16 2024

Hi all,

I am developing a video game, and I write the code to verify the users. While I run the code, it shows an error. I also searched this on the internet but did not find any solution.

def monitor_transactions():
transactions = fetch_transactions()
print("Transactions fetched:", transactions) # Debugging print
if transactions:
for transaction in transactions:
print("Current transaction ID:", transaction.get('id', 'ID not found')) # Debugging print
if is_suspicious(transaction):
flag_transaction(transaction['id'])

def flag_transaction(transaction_id):
if transaction_id:
print("No transaction ID provided.")
return # Exit the function if transaction_id is missing or None

Can anyone please help me with this?

Comments
Post Details
Added on Feb 16 2024
0 comments
65 views