From a533ed90a26b60f884c908c360e429261949bbd8 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Sat, 7 Jun 2025 16:51:07 +0300 Subject: [PATCH] Fixes: buy_unregistered in Order model fix --- core/viewsets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/viewsets.py b/core/viewsets.py index 2c2f3b71..5963995e 100644 --- a/core/viewsets.py +++ b/core/viewsets.py @@ -296,7 +296,7 @@ class OrderViewSet(EvibesViewSet): promocode_uuid=serializer.validated_data.get("promocode_uuid"), customer_name=serializer.validated_data.get("customer_name"), customer_email=serializer.validated_data.get("customer_email"), - customer_phone=serializer.validated_data.get("customer_phone"), + customer_phone_number=serializer.validated_data.get("customer_phone_number"), billing_customer_address=serializer.validated_data.get("billing_customer_address_uuid"), shipping_customer_address=serializer.validated_data.get("shipping_customer_address_uuid"), payment_method=serializer.validated_data.get("payment_method"),