public static function WorldpayRedirect::md5signatureFields in Commerce Worldpay 8
Same name and namespace in other branches
- 8.2 src/Plugin/Commerce/PaymentGateway/WorldpayRedirect.php \Drupal\commerce_worldpay\Plugin\Commerce\PaymentGateway\WorldpayRedirect::md5signatureFields()
Utility function holding Worldpay MAC sig codes.
Defines what post fields should be used in the Worldpay MD5 signature.
@todo Decide if this is worth making configurable.
Return value
array An array consisting of the name of fields that will be use.
See also
http://www.worldpay.com/support/kb/bg/htmlredirect/rhtml5802.html
2 calls to WorldpayRedirect::md5signatureFields()
- WorldPayHelper::createData in src/
Plugin/ Commerce/ PaymentGateway/ WorldPayHelper.php - WorldpayRedirect::buildConfigurationForm in src/
Plugin/ Commerce/ PaymentGateway/ WorldpayRedirect.php
File
- src/
Plugin/ Commerce/ PaymentGateway/ WorldpayRedirect.php, line 166
Class
- WorldpayRedirect
- Provides the Worldpay Redirect payment gateway.
Namespace
Drupal\commerce_worldpay\Plugin\Commerce\PaymentGatewayCode
public static function md5signatureFields() {
return [
'instId',
'amount',
'currency',
'cartId',
'MC_orderId',
C_WORLDPAY_BG_RESPONSE_URL_TOKEN,
];
}