From 5e8d55d5537b3efac439dea0295f584681442d35 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Tue, 31 May 2016 20:50:08 +0200 Subject: [PATCH] use IPN secret instead of API secret --- shop/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/views.py b/shop/views.py index e381a3c5..9d1f4653 100644 --- a/shop/views.py +++ b/shop/views.py @@ -427,7 +427,7 @@ class CoinifyCallbackView(SingleObjectMixin, View): def post(self, request, *args, **kwargs): # Get the signature from the HTTP headers signature = request.META['HTTP_X_COINIFY_CALLBACK_SIGNATURE'] - sdk = CoinifyCallback(settings.COINIFY_API_SECRET) + sdk = CoinifyCallback(settings.COINIFY_IPN_SECRET) # make a dict with all HTTP_ headers headerdict = {}