Log in
Model

PaymentMethodResolver

Magento\PaymentServicesPaypal\Model\InstantPurchase\PaymentMethodResolver

What it does

This class resolves the payment method code for instant purchase transactions by extracting and validating the payment token from the HTTP request.

Developers use this when implementing instant purchase functionality to determine which saved payment method (from the customer's vault) should be used for the quick checkout process.

Public Methods

  • resolve()