Hello guys, I'm trying to build a subscription app. My goal is to have one product that can be only purchased as a subscription (monthly subscription).
What I'm currently doing:
1. I create a random product (let's say with a price of $15)
2. I create a SellingPlanGroup
3. I add the product created to this SellingPlanGroup and I also update the property "
requiresSellingPlan" to true on the product. Meaning it can be only purchased through subscription.
Basically what is happening is: Once I try to checkout the product after doing this, the total of the purchase says $0 and it asks me for an address for delivery, once I put a random address, it says: "This order can’t be shipped to the address you entered. Review your address to ensure that all fields have been entered correctly and try again." and I can't do anything.
Am I missing any step or what should I do? I'm running a test store (development store) in order to test the app.
Before doing the steps I said, I am being able to purchase the product ( as a one-time payment, not subscription of course ).