\Heidelpay\PhpApi\AdapterCurlAdapter

Standard curl adapter

You can use this adapter for your project or you can create one based on a standard library like zend-http or guzzlehttp.

Summary

Methods
Properties
Constants
sendPost()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

sendPost()

sendPost(  $uri = null,   $post = null) : array

send post request to payment server

Parameters

$uri

string url of the target system

$post

array post payload for a payment request

Returns

array —

result of the transaction and a instance of the response object