Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix passing country code to payment
Marcin Gębala3b822da55e05
diff --git a/saleor/order/views.py b/saleor/order/views.pyindex 4d0624e02c..423f04df63 100644--- a/saleor/order/views.py+++ b/saleor/order/views.py@@ -82,7 +82,7 @@ def start_payment(request, order, variant):'billing_address_2': billing.street_address_2,'billing_city': billing.city,'billing_postcode': billing.postal_code,- 'billing_country_code': billing.country,+ 'billing_country_code': billing.country.code,'billing_email': order.user_email,'description': pgettext_lazy('Payment description', 'Order %(order_number)s') % {