Hello Alberto! I also want to setup my webflow payment button to open the Hotmart widget upon being clicked. Just to clarify the process, you hired the Webflow E-commerce plan, added the payment button, and then replace the button code with this one? <a onclick="return false;" href="https://pay.hotmart.com/G20820008X?checkoutMode=2&off=oizuita2" class="button-basico red-button full-width w-button hotmart-fb">inscreva-se</a> . Obviously I would need to replace the pay.hotmart.com ID with my own, but besides from that, that’s it?
Also, after setting this up, did Hotmart work as intended? I mean, did it show all the available payment methods according to the selected country?
Any advice and feedback will be fully appreciated.
You don’t need the e-commerce plan to add the payment button. You just need to insert the hotmart script on the page and put that line of code that creates the button inside a custom code element. To use the same layout of your site just add the classes that your represents your buttons and the custom code will look as a regular button.
<a onclick=“return false;” href=“hotmart URL" class=“button classes”>button text