Shopify python api library request_token ValidationException

Highlighted
New Member
3 0 0

i test my unlisted app in my test shop, i get a postback to my api, but it throw an exception when i request token.

request uri: shopify/callback?code=d0a909b8e1f57f8d473b35ad3cbe71fe&hmac=657d7b6682391d73c5043627041f8e26c5b938811f08a220c54826aeda37492e&shop=appstoretest5.myshopify.com&timestamp=1590613734

params = {
'shop' : shop,
'code' : auth_code,
'hamc' : hmac,
'timestamp' : timestamp
}
session = shopify.Session(shop, settings.SMB_SHOPIFY_API_VERSION)
session.setup(api_key=api_key, secret=api_secret)
token = session.request_token(params)


 

0 Likes
Highlighted
New Member
3 0 0

【solved】 i use request.GET instead of my custom dict, it works.

0 Likes