Log in
Model

PaymentManagement

Magento\PaymentServicesPaypal\Model\Payment\PaymentManagement

What it does

This class manages the refresh and update of PayPal payment status for Magento orders.

Developers use it to synchronize payment states between PayPal and Magento, automatically approving or declining payments based on the latest PayPal transaction status.

It's particularly useful for handling pending payments that need status verification.

Public Methods

  • refreshPaymentStatus()