I initially thought there would be an option in the form settings itself, to choose whether to run it in test or live mode. But there doesn't seem to be such an option.

So where do I configure this? Is it a URL difference between live and test mode?

In Wordpress, when using shortcodes to embed the payment form, I saw that you can set the option in the shortcode itself, for example: [civicrm component="contribution" id="3" mode="test" hijack="0"]


It's a URL difference, yes.

From Contributions menu > Manage Contribution Pages, you'll see a list of each contribution page, with a number of menus ("Configure", "Contribution", "Links", "More") next to each. Select Links > Live Page for the live URL, Links > Test-Drive for the test page. The URLs look like:

Live: https://example.org/civicrm/contribute/transact?reset=1&id=1

Test: https://example.org/civicrm/contribute/transact?reset=1&id=1&action=preview

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.