Class FetchTransactionRequest
Fat Zebra REST Fetch Transaction Request
Example -- note this example assumes that the purchase has been successful and that the transaction ID returned from the purchase is held in $sale_id. See PurchaseRequest for the first part of this example transaction:
// Fetch the transaction so that details can be found for refund, etc. $transaction = $gateway->fetchTransaction(); $transaction->setTransactionReference($sale_id); $response = $transaction->send(); $data = $response->getData(); echo "Gateway fetchTransaction response data == " . print_r($data, true) . "\n";
- Omnipay\Common\Message\AbstractRequest implements Omnipay\Common\Message\RequestInterface
- Omnipay\Fatzebra\Message\AbstractRestRequest
- Omnipay\Fatzebra\Message\FetchTransactionRequest
Namespace: Omnipay\Fatzebra\Message
See:
See:
Link: http://www.paystream.com.au/developer-guides/
Located at Message/FetchTransactionRequest.php
See:
Omnipay\Fatzebra\Message\PurchaseRequest
See:
Omnipay\Fatzebra\FatzebraGateway
Link: http://www.paystream.com.au/developer-guides/
Located at Message/FetchTransactionRequest.php
public
mixed
|
|
protected
string
|
|
public
string
|
getUsername(),
sendData(),
setUsername()
|
API_VERSION
|
$liveEndpoint,
$testEndpoint
|
$httpClient,
$httpRequest,
$negativeAmountAllowed,
$parameters,
$response,
$zeroAmountAllowed
|