Log in
Model

Pro

Magento\Paypal\Model\Pro

What it does

This class provides core payment processing functionality for PayPal Website Payments Pro methods (Direct and Express).

Developers use it to handle payment operations like authorization, capture, void, refund, and cancel transactions, as well as to manage fraud review processes and fetch transaction details through PayPal's NVP API.

Public Methods

  • setMethod()
  • setConfig()
  • getConfig()
  • getApi()
  • resetApi()
  • getInfo()
  • importPaymentInfo()
  • void()
  • capture()
  • refund()
  • cancel()
  • canReviewPayment()
  • reviewPayment()
  • fetchTransactionInfo()