Skip to main content

Webhooks

Last updated: 17-Jan-2023
Rate this article:

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.

Webhook

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

Workflow

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

webhooks1.png

Hash signature calculation

Depending on your shoppers' location, addresses and billing names may contain special characters. 

   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. For example, if using PHP, use the strlen method instead of length.

Failing Webhooks Alerts

You can configure alerts for IPN and LCN failing webhooks from your Merchant Control Panel by following these steps:

1. Log in to your Merchant Control Panel.

2. Navigate to Webhooks & API and scroll down to the Notifications section.

Failing webhooks 1.png

3. Select the Failing webhooks alerts checkbox.

Failing webhooks 2.png

4. Select the frequency (receive an email every X hours) for which you want to be alerted and the threshold of failing IPNs/ LCNs webhooks. The platform will send an email every 4h when more than 25% of the IPNs are failing, for example.

Failing webhooks 3.png

The alert will be sent to the email address filled out in the Technical notifications email field under the Account settings → Account information section, in your Merchant Control Panel. If the 'Technical notifications email' is not filled out, you will not be able to configure the email alert for the failing webhooks.

 

Rate this article:

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo