Unfortunately, due to Wix’s embed policies, the Donorbox popup donation form will not work properly on a Wix website. Nevertheless, if you really want to install a popup form, we have found a way to simulate a similar behavior.
Go to your Wix website editor. On the page, you wish to place your button, click the “Add” tab on the left-hand sidebar.
You will need to create a trigger first. This can be either a link or a button so that when it is clicked, the lightbox will appear. To add a button, click the “Add” tab on the left-hand sidebar. Select the type of button that you want and insert it in the page. You can style your button to your preference.
Once your donate button has been added, create a lightbox by following the same method as before. Click the ‘Add’ tab on the left-hand sidebar and search for Lightbox. Pick any of the designs that Wix has provided.
You can start editing your lightbox as you like. To insert a Donorbox form, you will first need to insert an HTML iframe inside the Lightbox. Go to the left-hand sidebar and click ‘Add’, then click ‘Add more’ and you will find the HTML iframe. Insert the iframe into the lightbox.
Once you have inserted your iframe inside the lightbox, you will need to insert the donation form into the iframe. Click ‘Edit iframe’, click ‘Enter Code.’ You’ll find a box to enter your HTML code.
Paste the script provided by DonorBox into the iframe. You will soon see the donation form inside your lightbox. Be sure to expand your lightbox and iframe to be bigger than your donation form. Otherwise, it may be cut off.
Once you have finished embedding your donation form into the lightbox, go back to the site menu and find the page where you have your button. Select the button and click ‘Link’. You will find a popup asking you where to link it. Please select lightbox and select the lightbox that you want to link to the button.
And that’s it! Now, when you click on the button you will have a popup with the form embedded on it, mimicking a similar behavior to the popup form from Donorbox.