Model
HostedProAdditionalDataProvider
Magento\PaypalGraphQl\Model\HostedProAdditionalDataProvider
What it does
This class provides additional payment data for PayPal Hosted Pro payment method in GraphQL requests.
It extracts and validates PayPal-specific data from the payment input, ensuring that return and cancel URLs are valid paths before processing the payment.
Developers use this when implementing PayPal Hosted Pro checkout through Magento's GraphQL API.
Public Methods
- getData()