Skip to main content

Webhooks overview


2Checkout generates automatic notifications for transaction and subscription/license change events which it sends to a location on your server you control. You can perform backend tasks including provisioning, entitlement, customer and subscription lifecycle management and more by using  2Checkout’s IPNs, LCNs, and API message services, on your server.


Use for the following events

Instant Payment Notifications (IPN)

Purchase and transactions events:

  • Authorized payments
  • Finalized payments
  • Refunds
  • Chargebacks
  • Creating customers

License Change Notifications (LCN)

Subscription events:

  • Renewal
  • Expiration
  • Upgrade
  • End user info updates

Webhook asynchronicity

2Checkout’s webhooks (IPN and LCN) operate asynchronously.


Hash signature calculation

Depending on your shoppers' location, addresses and billing names may contain special characters. Note that for UTF-8 characters, the length in bytes can be longer than the string length. When calculating the hash signature, we highly recommend using multibyte methods that return the number of bytes in a string, instead of methods that return the number of characters. Example: if using PHP, use the strlen method instead of length.


  • Was this article helpful?