The following code can be used to redirect to a custom web page after a successful donation:
RaiseNow Manager / EPP
window['rnw']['tamaro'].events['paymentComplete'].subscribe(function(event) {
var widget = window['widget'] = event.data.api;
if (widget.transactionInfo.epayment_status === 'success') {
window.location = 'http://MYTHANKYOUPAGE.com';
}
});
RaiseNow Hub / EPMS
The URL of your Thank you page has to be set in "window.location=
".
Comments
1 comment
Unfortunately, it's not working. :( What can I do?
Please sign in to leave a comment.