Jump to content

Recommended Posts

Posted (edited)

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?

 

Edited by TDBF
Posted
1 minute ago, Daniel F said:

Please try following code

define( 'NEXUS_TEST_GATEWAYS', TRUE );

Season 3 Wtf GIF by The Simpsons

2 minutes ago, Daniel F said:

Please try following code

define( 'NEXUS_TEST_GATEWAYS', TRUE );

Scared Homer Simpson GIF by reactionseditor

Posted

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.

  • Recently Browsing   0 members

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