Webhooks
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 an 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).
ORDERSTATUS parameter
New TEST_ORDER parameter
2 values were previously sent for test orders have been removed:
PROCESSING - Test order is waiting 2Checkout approval
TEST - Notification sent for Test orders
Possible values:
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 an 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)
TEST
Possible values:
1 for test subscriptions
Missing for real orders.
Related LCN resources
Last updated
Was this helpful?