This article describes how to place the ddswidget.html file on your server.
If you are integrating a LEMA or Free widget, which was created after March 15th 2018, you will not need to serve this file from your domain anymore.
In this case, we are hosting the file so there is no reason to serve it from your domain.
If your LEMA was created before March 15th 2018, you can either ask us to switch to the new method or use the following guide:
To successfully make payments through your server, you must upload an html file provided by us to your web server and tell us the URL (https://...) of the file.
By default, we have defined the path to /widgets/WIDGETKEY/ddswidget.html. WIDGETKEY means either LEMA or ELA.
For example, https://IHRE-DOMAIN.ch/widgets/lema/ddswidget.html
The files can be downloaded here:
ELA: https: //widget.raisenow.com/widgets/ela/ddswidget.html
LEMA: https: //widget.raisenow.com/widgets/lema/ddswidget.html
- Enter the URL in your browser (note: using Microsoft Edge here will break the file by switching to relative paths which will not work on your webserver)
- An error message 'Missing stored_rnw_widget_instance_id parameter in response' will appear. This can be ignored and should be clicked away
- Click "Save As..."
- Rename the file "ddswidget.html" and select the variant "html" from the possible storage formats
- Place this html file on your web server in the folder of the ELA or LEMA widget.
If you get the error message 'Missing stored_rnw_widget_instance_id parameter in response' again when you click on the newly saved link (https://IHRE-DOMAIN.ch/widgets/lema/ddswidget.html), everything is installed correctly.
If this file is not stored correctly in place, the donor will not receive a message of thanks.