diff --git a/app/__pycache__/routes.cpython-313.pyc b/app/__pycache__/routes.cpython-313.pyc index 0482685..33fcdec 100644 Binary files a/app/__pycache__/routes.cpython-313.pyc and b/app/__pycache__/routes.cpython-313.pyc differ diff --git a/app/routes.py b/app/routes.py index 2d49943..e4b7af1 100644 --- a/app/routes.py +++ b/app/routes.py @@ -44,7 +44,7 @@ def index1(): content = json.dumps(params, ensure_ascii=False) - message = f"🔹Спасибо за покупку в WST Keys (West Store Trusted Keys)\n\n ⏳ Ваш заказ находится в процессе отгрузки." + message = f"🔹Спасибо за покупку в WST Keys (West Store Trusted Keys)\n\n ⏳ Ваш заказ обрабатывается и будет доставлен автоматически" create_messagea(id_i, message) name_p, im = get_product(id_d) sku_rokky, price_rokky = get_sku(id_d) @@ -91,8 +91,8 @@ def new_order(): # TODO: обработка заказа print(f"New order received: {order_id}") - send_telegram(data) - # logging.warn(get_order_content(order_id)) + send_telegram(order_id) + logging.warn(f"newOrder: {order_id}") get_order_content(order_id) send_html_flow(order_id) diff --git a/services/send_mai.py b/services/send_mai.py index 8f0d1d5..3e501d1 100644 --- a/services/send_mai.py +++ b/services/send_mai.py @@ -71,7 +71,7 @@ def send_html_flow(ids): to_addr = row[5] send_html_email(to_addr, data) message = ( - f"🔹Спасибо за покупку в WST Keys (West Store Trusted Keys)\n\n" + f"🔑 Ваш ключ: {row[13]}\n\n" "📩 Копия ключа отправлена на вашу электронную почту.\n" "💬 Если у вас возникнут вопросы — напишите нам.\n"