question

W. Frederick Zimmerman avatar image
W. Frederick Zimmerman asked

how to make one set of facts always free in python-fact-in-skill-purchase

How can I tweak the code in https://github.com/alexa/skill-sample-python-fact-in-skill-purchases so that one of the fact categories is always free? this seems like a fast way to get an ISP skill up and running with only data changes.

pythonisp
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hi @W. Frederick Zimmerman and sorry for my delayed response.

If you haven't solved this already, here is my suggestion:

In the all_facts objects, the entries contain both a type and a fact property. You could always set the type to free and change your code's logic accordingly.

Regards,
Barry

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.