Provide an interface to use Register Method to create payments.
| package |
Default |
|---|
__construct(\Dotpay\Model\Configuration $config, \Dotpay\Tool\Curl $curl)
close()
create(\Dotpay\Channel\Channel $channel) : \Dotpay\Resource\RegisterOrder\Result
| Throws |
|
|---|
\Dotpay\Resource\RegisterOrder\Result
getAcceptHeader() : string
string
getContent(string $url) : array
| Throws |
|
|---|
stringUrl of a destination request
arrayResult which is decoded as array
getCurl() : \Dotpay\Tool\Curl
getDataStructure(\Dotpay\Channel\Channel $channel) : array
array
getHashFromResultArray(array $payment) : string
arrayDetails of payment
string
postData(string $url, \Dotpay\Resource\sring $body) : array
stringUrl of a destination request
\Dotpay\Resource\sringBody content of request which is encoded as JSON string
array
processCashAndTransfer(array $resultArray, \Dotpay\Resource\RegisterOrder\Result $resultObject, \Dotpay\Channel\Channel $channel) : \Dotpay\Resource\RegisterOrder\Result
| Throws |
|
|---|
arrayInformations which are given from Dotpay server after realizing the payment
\Dotpay\Resource\RegisterOrder\ResultStructure which contains selected result's informations
\Dotpay\Resource\RegisterOrder\Result
TARGET
loader : \Dotpay\Loader\Loader
config : \Dotpay\Model\Configuration
curl : \Dotpay\Tool\Curl
info : array
| var |
Information about last request |
|---|
array