Overview
  • Namespace
  • Class

Namespaces

  • Omnipay
    • Pagarme
      • Message

Classes

  • AbstractRequest
  • AuthorizeRequest
  • CaptureRequest
  • CreateCardRequest
  • CreateCustomerRequest
  • InstallmentsRequest
  • PurchaseRequest
  • RefundRequest
  • Response
  • VoidRequest

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
Extended by Omnipay\Pagarme\Message\AbstractRequest
Extended by Omnipay\Pagarme\Message\CaptureRequest
Namespace: Omnipay\Pagarme\Message
See: Omnipay\Pagarme\Message\AuthorizeRequest
Located at Message/CaptureRequest.php

Methods summary

public
# getData( )
public
# getEndpoint( )

Overrides

Omnipay\Pagarme\Message\AbstractRequest::getEndpoint

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()

Properties summary

Properties inherited from Omnipay\Pagarme\Message\AbstractRequest

$endpoint

API documentation generated by ApiGen