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 |
|
---|
string
Url of a destination request
array
Result which is decoded as array
getCurl() : \Dotpay\Tool\Curl
getDataStructure(\Dotpay\Channel\Channel $channel) : array
array
getHashFromResultArray(array $payment) : string
array
Details of payment
string
postData(string $url, \Dotpay\Resource\sring $body) : array
string
Url of a destination request
\Dotpay\Resource\sring
Body 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 |
|
---|
array
Informations which are given from Dotpay server after realizing the payment
\Dotpay\Resource\RegisterOrder\Result
Structure 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