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