public function CheckoutSdkInterface::capturePayment in Commerce PayPal 8
Captures an authorized payment, by ID.
Parameters
string $authorization_id: The PayPal-generated ID for the authorized payment to capture.
array $parameters: (optional An array of parameters to pass as the request body.
Return value
\Psr\Http\Message\ResponseInterface The HTTP response.
1 method overrides CheckoutSdkInterface::capturePayment()
- CheckoutSdk::capturePayment in src/
CheckoutSdk.php - Captures an authorized payment, by ID.
File
- src/
CheckoutSdkInterface.php, line 98
Class
Namespace
Drupal\commerce_paypalCode
public function capturePayment($authorization_id, array $parameters = []);