Are you using a page builder on your site? We’ve put together a shortcode generator for you to add wherever you like:
Read on to find out how to use it.
Add a product button
In the WordPress admin, click on the WPMarmite Pay > Shortcode Generator menu.
In the Product button shortcode section, click on the product for which you want to add a payment button, below Select a product.
Select your thank you page (the user will be redirected to this page after purchasing your product).
Customize the button label in the field provided, then click on the blue Generate button.
To customize it, click on the Customize button, below the shortcode.
You can choose the following elements:
- button background color (normal and hover)
- text color
- border radius
Click on the Save button.
Finally, click on the Copy button next to your freshly generated shortcode, then paste it wherever you like on your site to add a payment button!
Add a button to access the Stripe customer portal
In the WordPress admin, click on the WPMarmite Pay > Shortcode Generator menu.
In the Stripe portal button shortcode section, you’ll find the shortcode for accessing the Stripe customer portal.
To customize it, click on the Customize button, below the shortcode.
Customize your button, then click on the Save button.
Finally, click on the Copy button next to the shortcode, then paste it on a page reserved for logged-in users to include the customer portal access button.