Class CaptureRequest
Pagarme Capture Request
Use this request to capture and process a previously created authorization.
Example -- note this example assumes that the authorization has been successful and that the authorization ID returned from the authorization is held in $auth_id. See AuthorizeRequest for the first part of this example transaction:
// Once the transaction has been authorized, we can capture it for final payment. $transaction = $gateway->capture(); $transaction->setTransactionReference($auth_id); $response = $transaction->send();
- Omnipay\Common\Message\AbstractRequest
-
Omnipay\Pagarme\Message\AbstractRequest
-
Omnipay\Pagarme\Message\CaptureRequest
See:
Omnipay\Pagarme\Message\AuthorizeRequestLocated at Message/CaptureRequest.php
Methods summary
public
|
|
public
|
Methods inherited from Omnipay\Pagarme\Message\AbstractRequest
createResponse(),
extractAddress(),
extractDddPhone(),
getApiKey(),
getCard(),
getCardData(),
getCardHash(),
getCustomer(),
getCustomerData(),
getCustomerReference(),
getHttpMethod(),
getMetadata(),
insertApiKeyToData(),
sendData(),
setApiKey(),
setCard(),
setCardHash(),
setCustomer(),
setCustomerReference(),
setMetadata()