Skip to content

Not able to find correct path in Paypal payments group #3

@kaushikam

Description

@kaushikam

As Paypal/etc/system.xml a different format, such as <settings_express_checkout type="group" translate="label"> it is not able to find out correct path.

I have placed following code in jsonconfigsearch.php

//hop up to group $parent = $this->fetchSimpleXmlHelper()->getParentNode($value); $parent = $this->fetchSimpleXmlHelper()->getParentNode($parent); $parent = $this->fetchSimpleXmlHelper()->getParentNode($parent); $checkParent = $this->fetchSimpleXmlHelper()->getParentNode($parent); Mage::log('It is ' . (string) $checkParent->getName());

The result I got, when I searched for 'web':

Configuration -> -> Website Payments Pro (Includes Express Checkout) -> Basic Settings - PayPal Website Payments Pro Configuration -> -> Website Payments Pro Hosted Solution (Includes Express Checkout) -> Basic Settings - PayPal Website Payments Pro Hosted Solution Configuration -> -> Website Payments Pro Payflow Edition (Includes Express Checkout) -> Basic Settings - PayPal Website Payments Pro Payflow Edition Configuration -> -> Website Payments Standard -> Basic Settings - PayPal Website Payments Standard Configuration -> Currency Setup -> Webservicex Configuration -> System -> Cron (Scheduled Tasks) - all the times are in minutes Configuration -> Web Configuration -> Web -> Default Pages -> Default Web URL Configuration -> Web -> Search Engines Optimization -> Use Web Server Rewrites Configuration -> Website Payments Plus -> -> Website Payments Plus Configuration -> Website Payments Pro (Includes Express Checkout) -> Required PayPal Settings -> Website Payments Pro and Express Checkout Configuration -> Website Payments Pro Hosted Solution (Includes Express Checkout) -> -> Website Payments Pro Hosted Solution and Express Checkout Configuration -> Website Payments Pro Hosted Solution -> Website Payments Plus -> Basic Settings - PayPal Website Payments Plus Configuration -> Website Payments Pro Payflow Edition (Includes Express Checkout) -> Required Settings -> Website Payments Pro Payflow Edition and Express Checkout

and in the log I found:

2014-03-22T14:21:20+00:00 DEBUG (7): It is groups 2014-03-22T14:21:20+00:00 DEBUG (7): It is groups 2014-03-22T14:21:20+00:00 DEBUG (7): It is fields 2014-03-22T14:21:20+00:00 DEBUG (7): It is paypal_payments 2014-03-22T14:21:20+00:00 DEBUG (7): It is paypal_payments 2014-03-22T14:21:20+00:00 DEBUG (7): It is fields 2014-03-22T14:21:20+00:00 DEBUG (7): It is paypal_payments 2014-03-22T14:21:20+00:00 DEBUG (7): It is fields 2014-03-22T14:21:20+00:00 DEBUG (7): It is backend_config 2014-03-22T14:21:20+00:00 DEBUG (7): It is fields 2014-03-22T14:21:20+00:00 DEBUG (7): It is paypal_payments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions