1. Home
  2. WP Simple Pay Pro 2.5 & Lite 1.6
  3. Subscriptions Add-on – Setting Quantities (Pro 2.5)

Subscriptions Add-on – Setting Quantities (Pro 2.5)

Note: Subscription capabilities are included with Business and Elite licenses only.

Quantities for subscriptions can be set using drop-down, radio or numeric custom fields within the [stripe] base shortcode, but outside the [stripe_subscription] shortcode. See examples below.

Note: Within your Stripe dashboard, the customer record should indicate the quantity in Subscriptions section.

Shortcode Examples

Here’s an example using a single subscription plan with the ID “bronze” and a drop-down for the quantity:

[stripe name="My Store" description="My Product"]
[stripe_subscription id="bronze"][/stripe_subscription]
[stripe_dropdown options="1,2,3,4,5" is_quantity="true" label="Quantity:"]
[stripe_recurring_total]
[/stripe]

Here’s an example where the customer can select one of several subscription plans with a numeric field for the quantity:

[stripe name="My Store" description="My Product"]
[stripe_subscription label="Select a plan:"]
[stripe_plan id="bronze"]
[stripe_plan id="silver"]
[stripe_plan id="gold"]
[/stripe_subscription]
[stripe_number is_quantity="true" default="1" required="true" label="Quantity:"]
[stripe_recurring_total]
[/stripe]
Updated on November 19, 2018

Was this article helpful?

Related Articles