Overview

Namespaces

  • Ingenico
    • Connect
      • Sdk
        • Domain
          • Capture
            • Definitions
          • Definitions
          • Dispute
            • Definitions
          • Errors
            • Definitions
          • File
            • Definitions
          • Hostedcheckout
            • Definitions
          • Hostedmandatemanagement
            • Definitions
          • Installments
            • Definitions
          • Mandates
            • Definitions
          • MetaData
          • Payment
            • Definitions
          • Payout
            • Definitions
          • Product
            • Definitions
          • Refund
            • Definitions
          • Riskassessments
            • Definitions
          • Services
            • Definitions
          • Sessions
            • Definitions
          • Token
            • Definitions
          • Webhooks
        • Merchant
          • Disputes
          • Payments
          • Payouts
          • Productgroups
          • Products
          • Refunds
          • Services
          • Tokens
        • Webhooks

Classes

  • InMemorySecretKeyStore
  • SignatureValidator
  • WebhooksHelper

Interfaces

  • SecretKeyStore

Exceptions

  • ApiVersionMismatchException
  • SecretKeyNotAvailableException
  • SignatureValidationException
  • Overview
  • Namespace
  • Class
  • Deprecated

Class WebhooksHelper

Class WebhooksHelper

Namespace: Ingenico\Connect\Sdk\Webhooks
Package: Ingenico\Connect\Sdk\Webhooks
Located at Ingenico/Connect/Sdk/Webhooks/WebhooksHelper.php
Methods summary
public
# __construct( Ingenico\Connect\Sdk\Webhooks\SecretKeyStore $secretKeyStore )

Parameters

$secretKeyStore
protected Ingenico\Connect\Sdk\ResponseFactory
# getResponseFactory( )

Returns

Ingenico\Connect\Sdk\ResponseFactory
public Ingenico\Connect\Sdk\Domain\Webhooks\WebhooksEvent
# unmarshal( string $body, array $requestHeaders )

Unmarshals the given input stream that contains the body, while also validating its contents using the given request headers.

Unmarshals the given input stream that contains the body, while also validating its contents using the given request headers.

Parameters

$body
$requestHeaders

Returns

Ingenico\Connect\Sdk\Domain\Webhooks\WebhooksEvent

Throws

Ingenico\Connect\Sdk\Webhooks\SignatureValidationException
Ingenico\Connect\Sdk\Webhooks\ApiVersionMismatchException
protected
# validate( string $body, array $requestHeaders )

Validates the given body using the given request headers.

Validates the given body using the given request headers.

Parameters

$body
$requestHeaders

Throws

Ingenico\Connect\Sdk\Webhooks\SignatureValidationException
Properties summary
protected Ingenico\Connect\Sdk\Webhooks\SecretKeyStore $secretKeyStore

Deprecated

Will be removed in a future version
#
Ingenico Connect PHP SDK API documentation generated by ApiGen