Nvp
Magento\Paypal\Model\Api\Nvp
What it does
This class handles all PayPal NVP (Name-Value Pair) API communication for various PayPal payment operations.
Developers use it to process Express Checkout, Direct Payment, Reference Transactions, Billing Agreements, and transaction management (capture, void, refund) by calling specific methods that map to PayPal's API endpoints.
It manages request formatting, response parsing, error handling, and address data transformation between Magento and PayPal formats.
Public Methods
- getApiEndpoint()
- getVersion()
- getBillingAgreementType()
- callSetExpressCheckout()
- callGetExpressCheckoutDetails()
- callDoExpressCheckoutPayment()
- callDoDirectPayment()
- callDoReferenceTransaction()
- getIsFraudDetected()
- callDoReauthorization()
- callDoCapture()
- callDoAuthorization()
- callDoVoid()
- callGetTransactionDetails()
- callRefundTransaction()
- callManagePendingTransactionStatus()
- callGetPalDetails()
- callSetCustomerBillingAgreement()
- callGetBillingAgreementCustomerDetails()
- callCreateBillingAgreement()
- callUpdateBillingAgreement()
- prepareShippingOptionsCallbackAddress()
- formatShippingOptionsCallback()
- call()
- setRawResponseNeeded()