Skip to main content
knowledgecenter.avangate.com

Webhooks

IPN (Instant Payment Notification)

By default, the Avangate 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 Avangate's servers.

  1. Navigate to the IPN settings page.
  2. 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. Avangate 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, Avangate recommends that you change your settings immediately and filter test orders according to TEST_ORDER and not ORDERSTATUS.

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 Avangate approval
  • TEST - Notification sent for Test orders

Possible values:

• 1 - for test orders

• 0 - for real orders

LCN (License Change Notification)

By default, the Avangate 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 Avangate's servers.

  1. Navigate to the LCN settings page.
  2. 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.

Avangate 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.