Log in
Model

VaultTokenProvider

Magento\PaymentServicesPaypal\Model\Vault\VaultTokenProvider

What it does

This class creates and manages vault payment tokens for storing credit card information securely in Magento's vault system for PayPal Payment Services.

Developers use this when implementing save card functionality, allowing customers to store payment methods for future purchases.

It handles token creation, encryption, expiry date calculation, and generates unique hashes to identify stored payment methods.

Public Methods

  • createPaymentToken()