I’d like to use the button element (or button shortcode) to lunch a checkout popup. The drop-in script given to my by the service that manages our checkout is as follows. The service provider is “chargebee”.
<a href="javascript:void(0)" data-cb-type="checkout" data-cb-plan-id="copy_of_residential-weekly"> subscribe </a>
I have added the following code to my site header as instructed by chargebee.
<script src="https://js.chargebee.com/v2/chargebee.js" data-cb-site="keycompost" ></script>
When the a href is placed in a text area or “raw content” box, it performs perfectly. My desire is to get this popup to launch from a button created via [button] shortcode.
The site it is installed on is http://keycompost.com/signup

