Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kaushikam opened this issue Mar 22, 2014 · 2 comments
Open

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

kaushikam opened this issue Mar 22, 2014 · 2 comments

Comments

@kaushikam
Copy link

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

@astorm
Copy link
Owner

astorm commented Mar 22, 2014

When you searched for "web", what result did you expect to get? (knowing that will help us track this down)

@kaushikam
Copy link
Author

Configuration -> -> Website Payments Pro (Includes Express Checkout) -> Basic Settings - PayPal Website Payments Pro

You can see that there is a '->->'. In between the section name and lots of things are missing. Hence we are not getting the arrow pointing towards the 'Payment Methods'. If you check, you can see that there is a 'Website Payments Standard' in Paypal payments Solutions, but it is not finding it. I think paypal is doing somewhat difference strategy here. They have groups inside groups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants