public function discover (Requestable $requestInstance) {
// Now get a search criteria and set app name and payment action as search critera
$criteriaInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');
- $criteriaInstance->addCriteria("app_name", $requestInstance->getRequestElement('app'));
- $criteriaInstance->addCriteria("payment_action", $this->getActionName().'_action');
+ $criteriaInstance->addCriteria('app_name', $requestInstance->getRequestElement('app'));
+ $criteriaInstance->addCriteria('payment_action', $this->getActionName() . '_action');
$criteriaInstance->setLimit(1);
// Get a wrapper instance
$page = $helperInstance->convertDashesToUnderscores($requestInstance->getRequestElement('page'));
// Construct config entry
- $configEntry = $page . '_' . $linkName . '_action';
+ $configEntry = $page . '_' . $linkName . '_action_url';
// Is the deprecated parameter set?
if (!is_null($linkBase)) {