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):
|
||||
# Get the signature from the HTTP headers
|
||||
signature = request.META['HTTP_X_COINIFY_CALLBACK_SIGNATURE']
|
||||
sdk = CoinifyCallback(
|
||||
settings.COINIFY_API_KEY,
|
||||
settings.COINIFY_API_SECRET
|
||||
)
|
||||
sdk = CoinifyCallback(settings.COINIFY_API_SECRET)
|
||||
|
||||
# make a dict with all HTTP_ headers
|
||||
headerdict = {}
|
||||
|
|
Loading…
Reference in a new issue