phpDocumentor

HubCallbackApiClientInterface

Interface HubCallbackApiClientInterface

Tags
category

System

subpackage

GambioHub

Table of Contents

execute()  : HttpResponse
Executes Gambio Hub payment module callback.

Methods

execute()

Executes Gambio Hub payment module callback.

public execute(string $paymentModuleCode[, bool $isPostRequest = false ][, array<string|int, mixed> $getData = [] ][, array<string|int, mixed> $postData = [] ][, array<string|int, mixed> $headers = [] ]) : HttpResponse
Parameters
$paymentModuleCode : string

Gambio Hub Payment Module Code

$isPostRequest : bool = false

Flag, if url will be executed via GET or POST

$getData : array<string|int, mixed> = []

GET data as an array

$postData : array<string|int, mixed> = []

POST data as an array

$headers : array<string|int, mixed> = []

Headers as an array like ['X-Custom-Header: Foo']

Return values
HttpResponse

Returns the HTTP response

Search results