I’m testing my application now that I’ve swapped to production keys, and am no longer able to receive the on demand authorization response/url from Dwolla. The only thing I’ve changed are the keys that are being passed to the dwolla_client - I was able to add a customer/verify so I’m pretty sure it’s not the keys themselves. I’m using the python dwollav2 SDK and calling it like so:
dwolla_client = dwollav2.Client(
key = DWOLLA_APP_KEY,
secret = DWOLLA_APP_SECRET,
environment = 'production'
)
app_token = dwolla_client.Auth.client()
on_demand_authorization = app_token.post('on-demand-authorizations')
return JsonResponse(on_demand_authorization.body, status=status.HTTP_200_OK, safe=False)
The response I receive is:
ForbiddenError: {"code":"Forbidden","message":"The supplied credentials are not authorized for this resource."}