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.

  1. Scroll down to the Notifications Details area and check the checkbox for the TEST_ORDER option. (this option is unchecked by default).

triangle-exclamation

Before (discontinued)

After (new system)

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.

  1. Scroll down to the Notifications Details area and check the checkbox for the TEST option. (This option is unchecked by default)

circle-info

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.

TEST

Possible values:

  • 1 for test subscriptions

  • Missing for real orders.

Related LCN resources:

Last updated

Was this helpful?