flask-ask icon indicating copy to clipboard operation
flask-ask copied to clipboard

Adjusted in-skill-purchase samples to support all regions where ISP is available

Open mc51 opened this issue 5 years ago • 0 comments

ISPs are now also available in regions other than en-US. Namely, GB, DE and JP. Following, samples/purchase/model.py will work fine for en-US but fail in these new regions. This is because the variables apiEndpoint and language are fixed. However, querying https://api.amazonalexa.com will return a 403 response if the request is from an European user. We can use the appropriate values from the request to resolve this.

mc51 avatar Jun 14 '19 22:06 mc51