Remove stale reference to product_id

This commit is contained in:
PCoder 2018-10-03 09:36:00 +02:00
parent e1c91d886b
commit ca18004819

View file

@ -285,6 +285,7 @@ class PaymentOrderView(FormView):
request.session['generic_payment_type'] = 'generic'
if 'generic_payment_details' in request.session:
request.session.pop('generic_payment_details')
request.session.pop('product_id')
if 'product_slug' in kwargs:
logger.debug("Product slug is " + kwargs['product_slug'])
try: