Issue
Shopify says that in order to qualify for Partner-Friendly apps, we need to "not charge" for development stores. Here is the link (TIP section): https://help.shopify.com/en/api/app-store/charging-for-your-app
It says we should grant free access if { "plan_name" : "affiliate" })
When we set the price 0 on RecurringApplicationCharge, we get an error. How do we grant free access ?
Solution
You can set the test attribute to be true. That way no charge is levied for that install. Just add test: true if partner is affiliate.
One thing to monitor is the change in plan. If an affiliate plan goes real, remove the old test charge and replace it with a non-test charge subscription.
It remains painful for that reason, to deal in the freebies like this.
Answered By - David Lazar Answer Checked By - David Goodson (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.