public function ExpressCheckoutInterface::doVoid in Commerce PayPal 8
DoVoid API Operation (NVP) request.
Builds the data for the request and make the request.
Parameters
\Drupal\commerce_payment\Entity\PaymentInterface $payment: The payment.
Return value
array PayPal response data.
See also
https://developer.paypal.com/docs/classic/api/merchant/DoVoid_API_Operat...
1 method overrides ExpressCheckoutInterface::doVoid()
- ExpressCheckout::doVoid in src/
Plugin/ Commerce/ PaymentGateway/ ExpressCheckout.php - DoVoid API Operation (NVP) request.
File
- src/
Plugin/ Commerce/ PaymentGateway/ ExpressCheckoutInterface.php, line 123
Class
- ExpressCheckoutInterface
- Provides the interface for the Express Checkout payment gateway.
Namespace
Drupal\commerce_paypal\Plugin\Commerce\PaymentGatewayCode
public function doVoid(PaymentInterface $payment);