Log in
Model

Ipn

Magento\Paypal\Model\Ipn

What it does

This class processes PayPal Instant Payment Notifications (IPN) that are sent from PayPal to Magento when payment events occur.

Developers use this to handle various payment statuses like completed, pending, refunded, or disputed transactions, automatically updating orders and sending customer notifications.

It validates incoming IPN requests, processes different transaction types, and synchronizes payment information between PayPal and Magento orders.

Public Methods

  • processIpnRequest()
  • _registerPaymentPending()