Class AbstractRestRequest
Fat Zebra Abstract REST Request
This is the parent class for all Fat Zebra REST requests.
Test modes:
There are two test modes in the Paystream system - one is a sandbox environment and the other is a test mode flag.
The Sandbox Environment is an identical copy of the live environment which is 100% functional except for communicating with the banks.
The Test Mode Flag is used to switch the live environment into test mode. If test: true is sent with your request your transactions will be executed in the live environment, but not communicate with the bank backends. This mode is useful for testing changes to your live website.
Currently this class makes the assumption that if the testMode flag is set then the Sandbox Environment is being used.
- Omnipay\Common\Message\AbstractRequest implements Omnipay\Common\Message\RequestInterface
- Omnipay\Fatzebra\Message\AbstractRestRequest
Direct known subclasses
Omnipay\Fatzebra\Message\CreateCardRequest, Omnipay\Fatzebra\Message\CreateCustomerRequest, Omnipay\Fatzebra\Message\PurchaseRequest, Omnipay\Fatzebra\Message\RefundRequest, Omnipay\Fatzebra\Message\CreatePlanRequest, Omnipay\Fatzebra\Message\CreateSubscriptionRequest, Omnipay\Fatzebra\Message\DeleteCustomerRequest, Omnipay\Fatzebra\Message\FetchAllPlansRequest, Omnipay\Fatzebra\Message\FetchCustomerRequest, Omnipay\Fatzebra\Message\FetchPlanRequest, Omnipay\Fatzebra\Message\FetchSubscriptionRequest, Omnipay\Fatzebra\Message\FetchTransactionRequestNamespace: Omnipay\Fatzebra\Message
See:
Omnipay\Fatzebra\FatzebraGateway
Link: http://www.paystream.com.au/developer-guides/
Located at Message/AbstractRestRequest.php
protected
string
|
|
protected
string
|
|
public
string
|
|
public
|
|
public
ResponseInterface
|
getData()
|
string |
API_VERSION
|
#
'v1.0'
|
protected
string
|
$testEndpoint
Sandbox Endpoint URL |
#
'https://gateway.sandbox.fatzebra.com.au'
|
protected
string
|
$liveEndpoint
Live Endpoint URL |
#
'https://gateway.fatzebra.com.au'
|
$httpClient,
$httpRequest,
$negativeAmountAllowed,
$parameters,
$response,
$zeroAmountAllowed
|