Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge branch 'master' into email_interface_as_plugin
Maciej Korycinski9221056ea321
diff --cc .isort.cfgindex 32b3081763,cb4ef6b8ff..f8067be68d--- a/.isort.cfg+++ b/.isort.cfg@@@ -1,2 -1,2 +1,2 @@@[settings]- known_third_party = Adyen,PIL,authorizenet,babel,boto3,braintree,celery,dj_database_url,dj_email_url,django,django_cache_url,django_countries,django_filters,django_measurement,django_prices,django_prices_openexchangerates,django_prices_vatlayer,draftjs_sanitizer,faker,freezegun,geolite2,google,google_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_relay,html2text,html_to_draftjs,i18naddress,jaeger_client,jwt,kombu,lxml,markdown,measurement,mptt,oauthlib,openpyxl,opentracing,petl,phonenumber_field,phonenumbers,pkg_resources,prices,promise,pybars,pytest,pythonjsonlogger,pytimeparse,pytz,razorpay,requests,sentry_sdk,storages,stripe,tqdm,urllib3,versatileimagefield,weasyprint-known_third_party = Adyen,PIL,authorizenet,babel,boto3,braintree,celery,dj_database_url,dj_email_url,django,django_cache_url,django_countries,django_filters,django_measurement,django_prices,django_prices_openexchangerates,django_prices_vatlayer,draftjs_sanitizer,faker,freezegun,google,google_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_relay,html_to_draftjs,i18naddress,jaeger_client,jwt,kombu,lxml,markdown,measurement,mptt,oauthlib,openpyxl,opentracing,petl,phonenumber_field,phonenumbers,pkg_resources,prices,promise,pytest,pythonjsonlogger,pytimeparse,pytz,razorpay,requests,sentry_sdk,storages,stripe,templated_email,tqdm,urllib3,versatileimagefield,weasyprint++known_third_party = Adyen,PIL,authorizenet,babel,boto3,braintree,celery,dj_database_url,dj_email_url,django,django_cache_url,django_countries,django_filters,django_measurement,django_prices,django_prices_openexchangerates,django_prices_vatlayer,draftjs_sanitizer,faker,freezegun,google,google_measurement_protocol,graphene,graphene_django,graphene_federation,graphql,graphql_relay,html2text,html_to_draftjs,i18naddress,jaeger_client,jwt,kombu,lxml,markdown,measurement,mptt,oauthlib,openpyxl,opentracing,petl,phonenumber_field,phonenumbers,pkg_resources,prices,promise,pybars,pytest,pythonjsonlogger,pytimeparse,pytz,razorpay,requests,sentry_sdk,storages,stripe,tqdm,urllib3,versatileimagefield,weasyprintdiff --cc CHANGELOG.mdindex af65587a1c,e020308ff7..b6c089e1c8--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -15,7 -15,7 +15,8 @@@ All notable, unreleased changes to thi- Drop `apply_taxes_to_shipping_price_range` plugin hook - #6746 by @maarcingebala- Drop `CHECKOUT_QUANTITY_CHANGED` webhook - #6797 by @d-wysocki- Drop deprecated `taxRate` field from `ProductType` - #6795 by @d-wysocki+- Email interface as a plugin - #6301 by @korycins+ - Remove resolving user's location from GeoIP; drop `PaymentInput.billingAddress` input field - #6784 by @maarcingebala### Otherdiff --cc poetry.lockindex 9ec82a2ac8,1a8f60bfb3..662bd8011f--- a/poetry.lock+++ b/poetry.lock@@@ -2545,7 -2512,7 +2539,7 @@@ multidict = ">=4.0[metadata]lock-version = "1.1"python-versions = "~3.9"- content-hash = "e884a100501fea8aeb8fb89e8ae8fc8dabbfaf10d99947a9ea8e71dba323ada0"-content-hash = "6587173954a98d488801a647b476510ab94d978bd77e223615fe164e7ce247fa"++content-hash = "f66f51ae1352619818d81649f662231f1c3aab37c61e51421426776406c90732"[metadata.files]adyen = [diff --cc requirements.txtindex cff881276c,2bb425d486..a442e3ab99--- a/requirements.txt+++ b/requirements.txt@@@ -79,10 -78,9 +79,9 @@@ kombu==5.0.2; python_version >= "3.6libcst==0.3.17; python_version >= "3.6"lxml==4.6.2; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"markdown==3.3.3; python_version >= "3.6"- maxminddb-geolite2==2018.703maxminddb==2.0.3; python_version >= "3.6"measurement==3.2.0-mpmath==1.1.0; python_version >= "3.6"+mpmath==1.2.1; python_version >= "3.6"mypy-extensions==0.4.3; python_version >= "3.6"oauthlib==3.1.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")openpyxl==3.0.6; python_version >= "3.6"diff --cc saleor/graphql/checkout/mutations.pyindex 042ceba976,521537b21f..efda96e85e--- a/saleor/graphql/checkout/mutations.py+++ b/saleor/graphql/checkout/mutations.py@@@ -320,9 -313,9 +317,12 @@@ class CheckoutCreate(ModelMutation, I18email = data.pop("email", None)cleaned_input["email"] = email or user.email+ language_code = data.get("language_code") or settings.LANGUAGE_CODE+ cleaned_input["language_code"] = language_code++ cleaned_input["shipping_address"] = shipping_address+ cleaned_input["billing_address"] = billing_address+ cleaned_input["country"] = countryreturn cleaned_input@classmethod