diff --git a/ecommerce/extensions/dashboard/offers/views.py b/ecommerce/extensions/dashboard/offers/views.py index 6934cfaeaa9..13d4ec515d0 100644 --- a/ecommerce/extensions/dashboard/offers/views.py +++ b/ecommerce/extensions/dashboard/offers/views.py @@ -26,7 +26,7 @@ def _store_form_kwargs(self, form): def _fetch_form_kwargs(self): session_data = self.request.session.setdefault(self.wizard_name, {}) - json_data = session_data.get(self._key(step_name), None) + json_data = session_data.get(self._key(self.step_name), None) if json_data: form_kwargs = json.loads(json_data) form_kwargs['data']['site'] = Site.objects.get(pk=form_kwargs['data']['site_id'])