Commit dbfd77e6 by Clinton Blackburn

Disabled CSRF Validation for checkout cancel page

CyberSource will POST to this view if the user cancels payment. CSRF validation cannot be enabled when this happens.

ECOM-1689
parent bfe75276
......@@ -136,6 +136,7 @@ class BasketsView(APIView):
return InternalRequestErrorResponse(ex.message)
@csrf_exempt
@cache_page(1800)
def checkout_cancel(_request):
""" Checkout/payment cancellation view. """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment