To add a payment button in the WordPress editor, follow these steps:
- Open the page where you want to display your button.
- Add a new block.
- Click on the “WPMarmite Pay: Stripe Buy Button” block.
- Select the product for which you wish to display the button.
- Enter the URL of your thank you page, then click on the “Save” button.
- Your payment button has been added! Click on “Edit button” to change the label, then on “Save”.