Express
Magento\Paypal\Model\Express
What it does
This class implements PayPal Express Checkout payment method functionality in Magento 2.
Developers use this to process PayPal Express payments including authorization, capture, void, refund operations, and managing the payment workflow through PayPal's API.
It handles redirecting customers to PayPal, processing the checkout after they return, and managing transaction states throughout the order lifecycle.
Public Methods
- setStore()
- canUseCheckout()
- canUseForCurrency()
- getConfigPaymentAction()
- isAvailable()
- getConfigData()
- order()
- authorize()
- void()
- capture()
- refund()
- cancel()
- canReviewPayment()
- acceptPayment()
- denyPayment()
- getCheckoutRedirectUrl()
- fetchTransactionInfo()
- getApi()
- assignData()
- canVoid()
- canCapture()
- isActive()