Cobar Posted February 23, 2022 Share Posted February 23, 2022 I just learned that my forum test instance, which is a copy of the production forum taken a few months ago, is sending out renewal invoices to subscribers whose subscriptions are about to end. This is confusing for my users since most of these people received an initial invoice from the production site and have already paid. Is there a way to turn off the invoice renewal feature on my test instance or do I need to remove the subscription plan from that instance? Thanks, John Link to comment Share on other sites More sharing options...
Solution Jim M Posted February 23, 2022 Solution Share Posted February 23, 2022 The following two constants will disable Commerce from initiating any live communication with your payment gateways and the second will disable outbound emails. For information on how to create a constant.php file, please see this guide: https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-constantsphp-r25/ define( 'NEXUS_TEST_GATEWAYS', true ); define( 'EMAIL_DEBUG_PATH', "/dev/null"); Link to comment Share on other sites More sharing options...
Cobar Posted February 23, 2022 Author Share Posted February 23, 2022 Thanks Jim! Jim M 1 Link to comment Share on other sites More sharing options...
Recommended Posts