diff --git a/commerce_coordinator/apps/lms/views.py b/commerce_coordinator/apps/lms/views.py index 6e199a00..b938ca1f 100644 --- a/commerce_coordinator/apps/lms/views.py +++ b/commerce_coordinator/apps/lms/views.py @@ -73,7 +73,7 @@ def _redirect_response_payment(self, request): response (django.http.HttpResponseRedirect): """ - get_items = list(self.request.GET.items()) + get_items = list(self.request.GET.lists()) redirect_url = None if "bundle" in dict(get_items): ecom_url = urljoin( @@ -102,8 +102,8 @@ def _add_query_params_to_redirect_url(url, params): url (str): A URL asa Python String """ - query_params = list(params) - query_params = urlencode(query_params, True) + query_params = params + query_params = urlencode(query_params, doseq=True) url = url + '?' + query_params if query_params else url return url