Jump to content

Turn off renewal invoices on test site?


Go to solution Solved by Jim M,

Recommended Posts

Posted

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

  • Solution
Posted

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");

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...