For example, consider hiding a plan if it has reached its maximum capacity and temporarily is not available for purchase.Ĭhanging a plan’s visibility with the public property does not impact existing purchases. These plans cannot be seen on the site by the site member or visitor. Hidden pricing plans are plans whose public property has been set to false. By default, pricing plans are public when created. Public pricing plans are visible plans that site members and visitors can see on the site and purchase. Then, the subscription ends and the buyer is not billed. Canceling at the NEXT_PAYMENT_DATE allows the buyer to continue using the benefits of the subscription until the end of the free trial period. A site owner can cancel an ordered plan during the free trial period and choose to apply the cancellation IMMEDIATELY or at the NEXT_PAYMENT_DATE.Ĭanceling IMMEDIATELY ends the subscription for the buyer immediately, even during the free trial period, and the buyer won't be billed. When a buyer cancels their order during the free trial period, their subscription will expire at the end of the free trial period and they will not be billed. The buyer may purchase the same plan again, for another 3 months, but will not receive the 7-day free trial period. For example, a buyer purchases a monthly plan for 3 months that includes a 7-day free trial period. A buyer only receives the free trial period for the first time they purchase a plan. During the free trial period, the index of currentCycle is 0. When the free trial is over, the first payment cycle begins and the buyer is billed. A free plan with a limited duration is treated as a singlePaymentForDuration pricing model.Ī site owner can also add a free trial period, in days, to a subscription pricing model. }, javascript | Copy Code Free plans and free trial periodsĪ free plan that is valid until canceled is a singlePaymentUnlimited pricing model. For orders with a single payment, the index will remain 1 throughout the duration. In all other cases, the index starts with 1 for the first payment cycle in the subscription. index is 0 when the order is in a free trial period. Index of currentCycle is the current payment cycle for the subscription. Currently, cycleDuration only supports a value of 1. Multiply cycleDuration's count by cycleCount to get the subscription duration. In this example, the subscription is in its third month.ĬycleDuration is the length of one payment cycle. Each payment is $25, so the total price for the plan is $300. A subscription: A plan with recurring payment cycles.Įxample: A 1-year subscription with monthly, recurring payments.A pricing model can be one of the following: Plans are based on a pricing model, which is defined with the plan's pricing property. Pricing models contain the pricing and duration options for a plan. The existing orders retain their existing terms and pricing. Updating the properties of a pricing plan does not affect any current orders of the plan by members. You manually record each stage of the transaction. Members place their order by phone, text, or email. Members order and pay for their plans on your site without manual intervention. Members can order pricing plans in 2 ways: When setting up your site to accept pricing plans, define the plans you want to offer using the Dashboard or using the Pricing Plans' Plans APIs. Offer membership plans as described in About Pricing Plans.Accept payments as described in About Accepting Payments. Import wixPricingPlans from 'wix-pricing-plans.v2' javascript | Copy Code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |