[memb_place_order]

Version Added 2.46.59

Summary

This shortcode enables you to place a button on the page to perform a one click upsell. The advantage of using this shortcode is that the payment on the order is processed immediately, unlike using an actionset, which can take up to 6 hours to process the invoice payment.

Shortcode Examples

[memb_place_order button_text='Buy Now for $297' css_class='1clickbuynow' delete_failed=0 failure_url='/sorry/' order_title='$297 Upsell' plan_id=22 product_ids=84 success_url='/congratulations/']

Description

This shortcode enables you to place a button on the page to perform a one click upsell.

This feature replaces the alternate method of executing a one click upsell by using Actionsets.

The advantage of using this shortcode is that the payment on the order is processed immediately, unlike using an actionset, which can take up to 6 hours to process the invoice payment.

The advantage of this is that you (and your customer) will know immediately if the payment succeeded.

Shortcode Attributes

button_text:  The text to use on the button.  This should be a call to action clearly labelling what the button does.

button_url:  The URL to an image to use for an image based button.

contact_id:  The contact ID to process the order for.  Defaults to the currently logged in member.

creditcard_id:  The ID number of the credit card to use.  Defaults to the most recent credit card.

css_class: the CSS class name for the button.

delete_failed:  1 to delete failed orders, 0 to leave failed orders in the system.

failure_actionset:  An actionset to run if the order’s payment fails.

failure_goal:  A campaign builder API goal to achieve to run if the order’s payment fails.

failure_tag:  A tag to add or remove if the order’s payment fails.

failure_url:  The URL to redirect to if the order payment fails.

lead_affiliate_id:  The lead affiliate ID to place on the order.

order_title:  The title to use on the order that is created.  We recommend you use an order name that describes what was purchased, and mentions that it is an upsell/downsell so that you can easily identify these orders in Infusionsoft.  Defaults to “Memberium 1 Click Order”

plan_id:  The ID of the payment plan to use for the order.  Payment plans are setup in the Infusionsoft ecommerce settings.  Payment plans are not supported for subscription only orders.

promo_codes:  A comma separated list of promo codes to apply to the order.

process_specials:  Whether or not to process promo codes.  Defaults to Yes.

product_ids:  A comma separated list of product ID’s to include in the order.  If you are doing a subscription only order then do not include this parameter.

sale_affiliate_id:  The sales affiliate ID to place on the order.

subscription_ids:  A comma separated list of subscription ID’s to include in the order.  If you are doing a product only order then do not include this parameter.

success_actionset:  An actionset to run on successful order payment.

success_goal:  A campaign builder API goal to achieve on successful order payment.

success_tag:  A tag to add or remove on successful order payment.

success_url:  The URL to redirect to if the order payment is successful.