Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 24, 2024Jun 24 I moved my live server over to my test server environment for testing purposes. I set the following as not to have emails or Nexus taking payments: // Required for Development MUST use or bad things will happen. \define( 'EMAIL_DEBUG_PATH', '/home/****/dev.**********.co.uk/.mail' ); \define( 'NEXUS_TEST_GATEWAYS', 'TRUE' ); However, today I have had emails from people letting us know that they have been charged double and in one case, triple payments for subscriptions. I now removed the options for payments via PayPal and Stripe. I was under the impression that setting the constant 'NEXUS_TEST_GATEWAYS' prevented payments and invoices being sent?
June 24, 2024Jun 24 Author Please try following code define( 'NEXUS_TEST_GATEWAYS', TRUE ); Please try following code define( 'NEXUS_TEST_GATEWAYS', TRUE );
June 24, 2024Jun 24 Stripe is a problem anyway, and doesn't obey this: you need to make sure that the API keys for Stripe in your testing environment are the test versions which Stripe offers. This causes me no end of problems so you might want to copy my approach: deactivate Commerce.