passing request for place order to get current_site
For multiple sites, site object should be passed through request. There were no request passed while checkout. So, i'm passing request object.
@@ -146,7 +146,8 @@ class OrderPlacementMixin(CheckoutSessionMixin):
shipping_charge=shipping_charge,
total=order_total,
billing_address=billing_address,
- status=status, **kwargs)
+ status=status,
+ req=self.request, **kwargs)
self.save_payment_details(order)
return order
