PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, July 2, 2022

[FIXED] How to charge RecurringApplicationCharge for Partner-Friendly apps?

 July 02, 2022     shopify     No comments   

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)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing