You are here

public function WorldpayRedirectInterface::buildFormData in Commerce Worldpay 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Commerce/PaymentGateway/WorldpayRedirectInterface.php \Drupal\commerce_worldpay\Plugin\Commerce\PaymentGateway\WorldpayRedirectInterface::buildFormData()

Builds the transaction data.

Parameters

\Drupal\commerce_payment\Entity\PaymentInterface $payment: The commerce payment object.

Return value

bool|array Transaction data.

1 method overrides WorldpayRedirectInterface::buildFormData()
WorldpayRedirect::buildFormData in src/Plugin/Commerce/PaymentGateway/WorldpayRedirect.php

File

src/Plugin/Commerce/PaymentGateway/WorldpayRedirectInterface.php, line 27

Class

WorldpayRedirectInterface
Interface WorldpayRedirectInterface.

Namespace

Drupal\commerce_worldpay\Plugin\Commerce\PaymentGateway

Code

public function buildFormData(PaymentInterface $payment);