CoinifyCallback() only needs the secret
This commit is contained in:
parent
3c8a1427da
commit
daab6c4019
|
@ -388,10 +388,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(
|
sdk = CoinifyCallback(settings.COINIFY_API_SECRET)
|
||||||
settings.COINIFY_API_KEY,
|
|
||||||
settings.COINIFY_API_SECRET
|
|
||||||
)
|
|
||||||
|
|
||||||
# make a dict with all HTTP_ headers
|
# make a dict with all HTTP_ headers
|
||||||
headerdict = {}
|
headerdict = {}
|
||||||
|
|
Loading…
Reference in a new issue