You are here

public function CheckoutSdkInterface::voidPayment in Commerce PayPal 8

Voids, or cancels, an authorized payment, by ID.

Parameters

string $authorization_id: The PayPal-generated ID of the authorized payment to void.

Return value

\Psr\Http\Message\ResponseInterface The HTTP response.

1 method overrides CheckoutSdkInterface::voidPayment()
CheckoutSdk::voidPayment in src/CheckoutSdk.php
Voids, or cancels, an authorized payment, by ID.

File

src/CheckoutSdkInterface.php, line 135

Class

CheckoutSdkInterface

Namespace

Drupal\commerce_paypal

Code

public function voidPayment($authorization_id);