public function ExpressCheckoutInterface::doRequest in Commerce PayPal 8
Performs a PayPal Express Checkout NVP API request.
Parameters
array $nvp_data: The NVP API data array as documented.
\Drupal\commerce_order\Entity\OrderInterface $order: The order entity, or null.
Return value
array PayPal response data.
See also
https://developer.paypal.com/docs/classic/api/#express-checkout
1 method overrides ExpressCheckoutInterface::doRequest()
- ExpressCheckout::doRequest in src/
Plugin/ Commerce/ PaymentGateway/ ExpressCheckout.php - Performs a PayPal Express Checkout NVP API request.
File
- src/
Plugin/ Commerce/ PaymentGateway/ ExpressCheckoutInterface.php, line 44
Class
- ExpressCheckoutInterface
- Provides the interface for the Express Checkout payment gateway.
Namespace
Drupal\commerce_paypal\Plugin\Commerce\PaymentGatewayCode
public function doRequest(array $nvp_data, OrderInterface $order = NULL);