Usage:
This shortcode is used to automatically process a purchase without further user intervention.
This shortcode does NOT supports conditional branching with [ELSE_stripe_one_click_upsell].
Shortcode nesting is NOT supported.
Parameters:
product_id | This required parameter specifies which product or subscription will automatically be charged to the user. Default: none. Required: yes. |
fallback_url | This defines the URL to which a user will be redirected when a purchase fails. Default: Redirected to product page. Required: no. |
button_text | The text that should be displayed in the button. Default: none . Required: no. |
button_image | The HTTP/URL path to the image of your choice. Default: none Required: yes, if “buttontext” is not used.. |
button_style | Any inline style you want to apply to the button image or HTML button. Default: none. Required: no. |
Examples:
[mbr_stripe_one_click_upsell product_id='345']
When the link or button is clicked, it will process the purchase of product 345.
[mbr_stripe_one_click_upsell product_id='345' button_text='Buy Now']
This example will display “Buy Now” on the submit button which, when clicked, will process the purchase of product 345.
[mbr_stripe_one_click_upsell product_id='345' button_text='Buy Now' fallback_url='http://disney.com']
This example will display “Buy Now” on the submit button which, when clicked, will process the purchase of product 345. If the purchase fails for any reason, the user will be redirected to disney.com
API:
There is currently no ActiveMember360 API function equivalent for this shortcode.