Log in
Model

ReCaptchaSession

Magento\ReCaptchaPaypal\Model\ReCaptchaSession

What it does

This class manages the temporary storage and validation of ReCaptcha verification for PayPal Payflow Pro transactions.

It saves the timestamp when a ReCaptcha is verified and validates that the verification is still valid (within 120 seconds) for a specific quote before processing payment.

Developers use this to ensure ReCaptcha verifications aren't reused or expired during PayPal checkout flows.

Public Methods

  • save()
  • isValid()