[memb_order_subscription]

Version Added 2.45.16

Summary

This shortcode provides a means to add a new subscription to the currently logged in user without requiring any user interactivity at all. The user must meet any tag requirements set in the shortcode, as well as be logged in with a valid credit card.

Shortcode Examples

[memb_order_subscription id=1]

Shortcode Parameters

affiliate_id:  The ID number of the affiliate to assign the subscription to.  Default:  None.  (Optional)

allow_dupe:  Whether or not to allow duplicate active subscriptions to be created.  Default  No.  (Optional)

delay_days:  How many days to wait before the first billing.  Default:  None.  (Optional)

dupe_action:  The ID# of the actionset to run if the order is a duplicate of a current active subscription.   Default:  None.  (Optional)

dupe_goal: The name of the Campaign Builder goal to achieve if the order is a duplicate of a current active subscription. Default: None. (Optional)

dupe_tag:  The tags to add or remove if the order is a duplicate of a current active subscription. Default: None. (Optional)

dupe_url:  The URL to redirect to if the order is a duplicate of a current active subscription. Default: None. (Optional)

failure_action:  The ID# of the actionset to run if the order fails or is declined. Default: None. (Optional)

failure_goal: The name of the Campaign Builder goal to achieve if the order fails or is declined. Default: None. (Optional)

failure_tag:  The tags to add or remove if the order fails or is declined. Default: None. (Optional)

failure_url:  The URL to redirect to if the order fails or is declined. Default: None. (Optional)

has_all_tags:  A comma separated list of tags that the user must have in order to order the subscription.  Default:  None.  (Optional)

has_any_tag: A comma separated list of tags, which the use must have at least one in order to order the subscription.  Default:  None.  (Optional)

id:  The ID# of the subscription plan.  (Required)

merchant_id:  The ID# of the merchant account to use.  Defaults to default merchant ID assigned in configuration.  (Optiona)

price:  The price to charge for the description.  Default:  The price defined in Infusionsoft.  (Optional)

quantity:  The number of subscriptions to create.  Default:  1.  (Optional)

success_action:  The ID# of the actionset to run if the order is successful. Default: None. (Optional)

success_goal:  The name of the Campaign Builder goal to achieve if the order is successful. Default: None. (Optional)

success_tag:  The tags to add or remove if the order is successful. Default: None. (Optional)

success_url:  The URL to redirect to if the order is successful. Default: None. (Optional)

taxable:  Whether or not to apply taxes to the subscription.  Default:  No (Optional)

Description

You can use this shortcode to create one-click upsell pages by linking to it from an offer page.

You can use this shortcode alone, or with any of the conditional Memberium shortcodes.