Log in
Model

Request

Magento\Paypal\Model\Hostedpro\Request

What it does

This class builds and formats request data for PayPal's Website Payments Pro Hosted Solution payment gateway.

Developers use it to prepare order, payment, billing and shipping information in the specific format required by PayPal's API, including handling tax calculations and converting address data into PayPal's expected field structure.

Public Methods

  • getRequestData()
  • setPaymentMethod()
  • setOrder()
  • setAmount()