Log in
Model

SdkParams

Magento\PaymentServicesPaypalGraphQl\Model\Resolver\SdkParams

What it does

This GraphQL resolver processes SDK parameters for PayPal payment integration, specifically handling the addition of Content Security Policy (CSP) nonces to SDK parameters.

Developers would use this when implementing PayPal payment solutions in a Magento 2 headless/PWA frontend that requires secure script execution with CSP compliance.

Public Methods

  • resolve()