IPN (Instant Payment Notification)
By default, the 2Checkout system includes all test order data in Instant Payment Notifications along with data on 'real' orders. To differentiate between test orders and 'real' orders, and to manage purchases efficiently, you can include a IPN parameter in the notification received from 2Checkout's servers.
- Navigate to the IPN settings page.
- Scroll down to the Notifications Details area and check the checkbox for the TEST_ORDER option. (this option is unchecked by default).
Important! The new testing system has modified the behavior of the ORDERSTATUS parameter. 2Checkout continues to send ORDERSTATUS for test orders, however, it will contain the actual status of the order, with the exception of PROCESSING and TEST, which have been removed. If you were using ORDERSTATUS values to filter test orders, 2Checkout recommends that you change your settings immediately and filter test orders according to TEST_ORDER and not ORDERSTATUS.
After (new system)
New TEST_ORDER parameter
2 values were previously sent for test orders have been removed:
• 1 - for test orders
• 0 - for real orders
LCN (License Change Notification)
By default, the 2Checkout system includes all test subscription data in License Change Notifications along with data on 'real' subscriptions. To differentiate between test subscriptions and 'real' subscriptions, and to manage them efficiently, you can include a LCN parameter in the notification received from 2Checkout's servers.
- Navigate to the LCN settings page.
- Scroll down to the Notifications Details area and check the checkbox for the TEST option. (This option is unchecked by default)
2Checkout strongly recommends that you take the necessary measures to adapt your system to the way that the TEST parameter works in LCNs to filter test items from 'real' orders.