Log in
Model

Info

Magento\Paypal\Model\Info

What it does

This class manages PayPal-specific payment information in Magento 2.

Developers use it to import/export payment data between PayPal responses and Magento payment objects, check payment statuses (pending, completed, failed), and translate PayPal codes (AVS, CVV2, pending reasons) into human-readable labels for display to merchants and customers.

Public Methods

  • getPaymentInfo()
  • getPublicPaymentInfo()
  • importToPayment()
  • exportFromPayment()
  • isPaymentReviewRequired()
  • isFraudReviewAllowed()
  • isPaymentCompleted()
  • isPaymentSuccessful()
  • isPaymentFailed()
  • explainPendingReason()
  • explainReasonCode()
  • isReversalDisputable()
  • getCaseTypeLabel()