use IPN secret instead of API secret
This commit is contained in:
parent
65a5da2177
commit
5e8d55d553
|
@ -427,7 +427,7 @@ class CoinifyCallbackView(SingleObjectMixin, View):
|
||||||
def post(self, request, *args, **kwargs):
|
def post(self, request, *args, **kwargs):
|
||||||
# Get the signature from the HTTP headers
|
# Get the signature from the HTTP headers
|
||||||
signature = request.META['HTTP_X_COINIFY_CALLBACK_SIGNATURE']
|
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
|
# make a dict with all HTTP_ headers
|
||||||
headerdict = {}
|
headerdict = {}
|
||||||
|
|
Loading…
Reference in a new issue