Skip to main content

Giving Form Test Mode

Run a Giving Form in test mode to see the donation flow

Written by Tony Sasso

Conduct test transactions through a "live" form by setting the from to test mode.

Activate test mode

Test mode can be activated in two ways.

1. URL Parameter

This is the easiest method! Just add ?x_mode=test to the end of your donation page URL. For example: yourwebsite.org?x_mode=test

That's it!

2. JS Config

You can also add a snippet to the Form Configuration Code to flip the form to test mode. Sandbox example ↗

<!-- Form Configuration Code -->
<script>
window.funraise.push('create', {form: 271});
window.funraise.push('config', { form: 271 }, {
mode: 'test'
});
</script>


Test mode features

  • Test mode allows you to preview the donation experience and flow

  • Test mode will trigger event handlers if they are configured

  • Test mode does not create Supporter or Transactions records

  • Test mode does not send transaction receipts

Test payment method

You can run a test transaction using the following card details:

  • Card: 4111 1111 1111 1111

  • Expires: 01/29

  • CVV: 123

Did this answer your question?