HostedProUrl
Magento\PaypalGraphQl\Model\Resolver\HostedProUrl
What it does
This GraphQL resolver retrieves the PayPal Hosted Pro secure payment form URL for a customer's cart.
Developers use this class when implementing PayPal Hosted Pro payment integration in GraphQL checkout flows, allowing customers to be redirected to PayPal's secure payment page.
It converts a masked cart ID to an order and extracts the payment URL from the order's payment information.
Public Methods
- resolve()