Helper
OrderCreateResponseParser
Magento\PaymentServicesPaypal\Helper\OrderCreateResponseParser
What it does
This helper class parses PayPal order creation responses and extracts transaction details (authorization or capture) from the API response.
Developers use it to validate transaction status, determine if a transaction is pending/denied/approved, and extract the appropriate transaction data when processing PayPal payments in Magento 2.
Public Methods
- getTransaction()
- isAuthorization()
- isDenied()
- isPending()
- isOK()