Commits

Chris Moffitt committed 93262c1

Google checkout needs to be CSRF exempt. Closing #1412

  • Participants
  • Parent commits 9532066

Comments (0)

Files changed (1)

File satchmo/apps/payment/modules/google/views.py

 from django.template.loader import get_template
 from django.utils.translation import ugettext as _
 from django.views.decorators.cache import never_cache
+from django.views.decorators.csrf import csrf_exempt
 from livesettings import config_get_group, config_value
 from payment.config import gateway_live
 from payment.views import confirm, payship
     controller.confirm()
     return controller.response
 
+@csrf_exempt
 @never_cache
 def notification(request):
     """