[GH-ISSUE #9] getting issue when customer put their email while checkout #8

Closed
opened 2026-08-24 21:38:37 +03:00 by w1png · 1 comment
Owner

Originally created by @kushjain24 on GitHub (Mar 19, 2023).
Original GitHub issue: https://github.com/w1png/shop-telegram-bot/issues/9

File "/home/kush/shop-telegram-bot-rewrite/src/init.py", line 184, in process_message_state
await importlib.import_module(state_path).execute(callback_query=None, user=users.User(message.chat.id), data=None, message=message, state=state)
File "/home/kush/shop-telegram-bot-rewrite/src/callbacks/states/Order_email.py", line 17, in execute
checkout_settings = constants.config["checkout_settings"]
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/home/kush/shop-telegram-bot-rewrite/src/config.py", line 14, in getitem
return self.__data[item]
~~~~~~~~~~~^^^^^^
KeyError: 'checkout_settings'

Originally created by @kushjain24 on GitHub (Mar 19, 2023). Original GitHub issue: https://github.com/w1png/shop-telegram-bot/issues/9 File "/home/kush/shop-telegram-bot-rewrite/src/__init__.py", line 184, in process_message_state await importlib.import_module(state_path).execute(callback_query=None, user=users.User(message.chat.id), data=None, message=message, state=state) File "/home/kush/shop-telegram-bot-rewrite/src/callbacks/states/Order_email.py", line 17, in execute checkout_settings = constants.config["checkout_settings"] ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/home/kush/shop-telegram-bot-rewrite/src/config.py", line 14, in __getitem__ return self.__data[item] ~~~~~~~~~~~^^^^^^ KeyError: 'checkout_settings'
w1png closed this issue 2026-08-24 21:38:37 +03:00
Author
Owner

@w1png commented on GitHub (Mar 19, 2023):

Rewrite branch is not completed yet im busy with work atm

<!-- gh-comment-id:1475387523 --> @w1png commented on GitHub (Mar 19, 2023): Rewrite branch is not completed yet im busy with work atm
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
w1png/shop-telegram-bot#8
No description provided.