Documentation

ConnectorInterface

PayU connector interface.

Table of Contents

__construct()  : mixed
Construct.
authenticate()  : void
Authenticate connector.
cancelOrder()  : void
Cancel order.
createOrder()  : CreateResponseDto
Create new order.
getOrder()  : OrderDto
Get order details.

Methods

__construct()

Construct.

public __construct(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>
Return values
mixed

authenticate()

Authenticate connector.

public authenticate() : void
Return values
void

cancelOrder()

Cancel order.

public cancelOrder(string $orderId) : void

Order cancellation is possible only for statuses before COMPLETED.

Parameters
$orderId : string
Return values
void

        

Search results