Billing API capped amount for free plan

Highlighted
New Member
2 0 0

Hi everyone, 

we've got 4 plan and one of those is free.

 

while calling the billing api it seems impossible to set a price of 0$ without a capped amount (a minimum of .5$).

this doesn't make sense to me, i've seen other apps with a free plan and other paid plans without these strange behavior.

 

what's the flow to create a free plan and some paid plans without using the capped amount?

 

thanks

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1041 140 166

Hey @mrcnee 

 

If they're select the free plan, you could skip the recurringApplicationCharge all together.

 

If they select a paid plan, create a recurringApplicationCharge with the plan name and price:

 

{
  "recurring_application_charge": {
    "name": "Super Duper Plan",
    "price": 10.0,
    "return_url": "http://super-duper.shopifyapps.com"
  }
}

 

0 Likes