Dan Cole Posted January 30, 2016 Share Posted January 30, 2016 Having trouble with the return url in the paypal app. I'm getting this message... Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request. Based on another thread that I read I tried... http://www.website/cataloguedirectory/ext/modules/payment/paypal/login.php Common sense told me to try http://www.website/cataloguedirectory/login.php but that doesn't work either. What are you using? Dan Quote Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
♥14steve14 Posted January 30, 2016 Share Posted January 30, 2016 I thought I read somewhere that in the app the return url needs to be to checkout_success.php Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
auzStar Posted January 30, 2016 Share Posted January 30, 2016 try: https://www.website/catalog/login.php?action=paypal_login for "login with paypal" I'm sure it needs to match the "returnurl" that's formed within the "login with paypal" module template file i.e. "catalog\includes\modules\content\login\templates\paypal_login.php" mitchlin71 and Dan Cole 2 Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
Dan Cole Posted January 30, 2016 Author Share Posted January 30, 2016 @@auzStar Thanks Dom...that did it. In my case it was a non-ssl link since it's a development site but it now works. Just to verify and add to my learning, I echoed out the returnurl from the content module and it matched up perfectly. Thanks again... Dan auzStar 1 Quote Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
waverunner Posted November 11, 2016 Share Posted November 11, 2016 Hi guys, I want to enable this option and are having same problem using live Relying Party Validation error: client_id or redirect_uri provided in the request does not match any of the registered clients. Please check the request. How do I echo out the returnurl from the content module? I have a certificate on the domain and I have confirmed that TLS 1.2 is all working Anything else I can do to get this working? Quote Link to comment Share on other sites More sharing options...
Lioelx Posted January 25, 2017 Share Posted January 25, 2017 Hi, i dont know this, i prove all url but dont work... waht ist the correct returnurl?Regards Quote No external links here, thank you Link to comment Share on other sites More sharing options...
♥raiwa Posted January 26, 2017 Share Posted January 26, 2017 Hello Lionel @@Lioelx, hello Troy @@waverunner, It's time since I didn't use it, but I have still the apps set up and the return Url I have used is: http://www.yourstore.com/login.php?action=paypal_login or https://www.yourstore.com/login.php?action=paypal_login Must be complete URL including "http://" or "https://" hope this helps rgds Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Lioelx Posted January 26, 2017 Share Posted January 26, 2017 Hi, @@raiwa, now have what you say, but dont work, all mi site run ssl https:// i prove the same url whit https and http but nothing. Quote No external links here, thank you Link to comment Share on other sites More sharing options...
♥raiwa Posted January 27, 2017 Share Posted January 27, 2017 Hola Lionel, @@Lioelx, Please make sure to use the latest version of the PayPal Login template. Until a few weeks ago the wrong template file from 2.3.4 standard was included in 2.3.4 BS EDGE. rgds Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ecommunlimited Posted January 27, 2017 Share Posted January 27, 2017 @@raiwa I'm using the PayPal App and the zip file is app-paypal-4_039.zip. Within the template file it uses action=paypal_login for the return URL. I've used that same return URL at the PayPal Developers site for the REST API for both the Sandbox and Live. And I made sure to save each. All of my credentials for the app are correct. I still can't get it to work. My site is fully SSL so I used the return URL of https://my-domain.com/login.php?action=paypal_login. Where in EDGE do you find the correct PayPal Login template file? I'd really like to know, this has been driving me batty. Take care Bill Quote Link to comment Share on other sites More sharing options...
Lioelx Posted January 27, 2017 Share Posted January 27, 2017 (edited) Hello @@raiwa, my case is the same as Bill, full ssl, return url https:// all same. incluides/modules/content/login/cm_paypal_login.php have this line $this->_app->loadLanguageFile('modules/LOGIN/LOGIN.php'); If refert to includes/modules/LOGIN/LOGIN.php doets exist but /includes/apps/paypal/LOGIN/LOGIN.php exist Has something to do? Regards Edited January 27, 2017 by Lioelx Quote No external links here, thank you Link to comment Share on other sites More sharing options...
♥raiwa Posted January 27, 2017 Share Posted January 27, 2017 You should use the version included in 2.3.4 BS EDGE and make sure to use the latest version: includes/modules/content/login/templates/paypal_login.php must be edge after 01/012017: https://github.com/gburton/Responsive-osCommerce/commit/8bb457312e04c73229957a49054f0bb24fc7d0e9 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Lioelx Posted January 27, 2017 Share Posted January 27, 2017 Hi @@raiwa i have the same what you say and the returnurl is https://www.nukua.es/login.php?action=paypal_login This url does not lead anywhere, Regards Quote No external links here, thank you Link to comment Share on other sites More sharing options...
♥raiwa Posted January 27, 2017 Share Posted January 27, 2017 I think you should post this now in the official PayPal App support thread Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Lioelx Posted January 28, 2017 Share Posted January 28, 2017 Which is? I can not find it Quote No external links here, thank you Link to comment Share on other sites More sharing options...
♥raiwa Posted January 28, 2017 Share Posted January 28, 2017 http://www.oscommerce.com/forums/topic/398887-paypal-app-for-oscommerce-online-merchant/ Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Enzo_UK Posted January 30, 2017 Share Posted January 30, 2017 I too am having problems getting the 'Login with Paypal' to work, and am getting the same error... I am using a BS 2.3.4 with the PayPal App v4.039 Relying Party Validation error: client_ID or redirect_uri provided in the request does not match any of the registered clients. Please check the request. I have made sure that I am using the right credentials for the Live API, and that all the information requested is set up the same in osC and on the PayPal developer site, so am assuming its the return url problem. On the PayPal pop up window that has the error message the 'Back to the Site' link takes you to http://www.mysite.co.uk/login.php?action=paypal_login I have tried setting the Return URL on the PayPal Developer site to the same thing, but doesn't make any difference, and have now set the Return URL on the developer site to http://www.mysite.co.uk/login.php?action=paypal_login_process to see if it would change the link in the pop up window, but it doesn't. If I look in my catalog/includes/modules/content/cm_paypal_login.php the only references to the return are as follows: $return_url = tep_href_link(FILENAME_LOGIN, '', 'SSL');$return_url = tep_href_link(FILENAME_LOGIN, 'action=paypal_login_process', 'SSL'); I just don't know what the return URL should be that you put on the PayPal developer site, and even if you change it the 'Back to the Site' link on the error box always says the same, and cant even find whats generating that URL. Quote Link to comment Share on other sites More sharing options...
auzStar Posted January 31, 2017 Share Posted January 31, 2017 (edited) @@Enzo_UK The Return URL for the "Login with Paypal" app should be: http(or https depending on your site)://www.YOURDOMAINNAME.com/YOURCATALOG/login.php?action=paypal_login (YOURCATALOG/ not required if your store is in root folder) If you visit this demo site here: https://www.auzcommerce.com.au/osc234bs_test_sec/login.php you'll see that the "Login with Paypal" works (currently in Sandbox mode but also works in live mode). I have this for Return URL "https://www.auzcommerce.com.au/osc234bs_test_sec/login.php?action=paypal_login" on the deveploer site (notice it's https because https is used on site). Just to test I changed https to http and then I get the error you describe above. In your "catalog/includes/modules/content/login/templates/paypal_login.php" file make sure you have code that looks like this: "returnurl": "<?php echo str_replace('&', '&', tep_href_link('login.php', 'action=paypal_login', 'SSL', false)); ?>" Make sure all your "Login with Paypal" live and test credentials are entered correctly in your "admin->PayPal->Credentials->Log In" settings. cheers Edited January 31, 2017 by auzStar Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
Enzo_UK Posted January 31, 2017 Share Posted January 31, 2017 I dont know why its worked this time, and never worked before, but can now confirm that its working for me. http://www.mysite.co.uk/login.php?action=paypal_login or if using an SSL https://www.mysite.co.uk/login.php?action=paypal_login Quote Link to comment Share on other sites More sharing options...
LWSS Posted March 31, 2017 Share Posted March 31, 2017 I've everythings set according to above discussed. "Return URL" in Paypal Developer setting = https://MYWEBSITE/catalog....../login.php?action=paypal_login All Live and Test Client ID & Secret are correctly set in MYWEBSITE's PayPal App v5.018. I logged in successfully, but soon it was redirected to screen said "Error: 403 Forbidden" message. The url found is "https://MYWEBSITE/catalog/login.php?action=paypal_login&code=C2............................https%3A%2F%2Furi.paypal.com%2Fservices%2Fpaypalattributes%20profile". Does anyone know what happened? Quote Link to comment Share on other sites More sharing options...
LWSS Posted April 1, 2017 Share Posted April 1, 2017 Regarding my last post, I've test Login with PayPal in my local test server, which is not a SSL server, it does work in TEST mode and no Error: 403 message shown. The "Return URL" in PayPal profile was set as "http://localhost/MYWEBSITE/..../login.php?action=paypal_login". But in live site with "Return URL" set as "https://MYWEBSITE/..../login.php?action=paypal_login"(which is recommended in PayPal Apps), the Error: 403 still exists. Could Error: 403 problem be something related to SSL when redirected to website? Quote Link to comment Share on other sites More sharing options...
Dan Cole Posted April 1, 2017 Author Share Posted April 1, 2017 Does it work on the live site when you use http in the return address? If so, you'll just need to wait to use https until you have an SSL Certificate installed. Dan Quote Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
edoscript Posted May 22, 2019 Share Posted May 22, 2019 While the most recent post in here is already over 2 years old, I wonder if anyone had the same issue that I am having. I have installed the "Login with PayPal" and everything seems to be good now, however after logging in with PayPal I end up on the login.php page again, and it doesn't show logged in and can't checkout. So I wonder if anyone has an idea as to how this should work or if I am missing anything. Thank you in advance. Quote Link to comment Share on other sites More sharing options...
MrPhil Posted May 23, 2019 Share Posted May 23, 2019 Login with PayPal has been changed to Connect with PayPal. See if anything in helps you. Quote Link to comment Share on other sites More sharing options...
edoscript Posted July 5, 2019 Share Posted July 5, 2019 On 5/22/2019 at 7:35 PM, MrPhil said: Login with PayPal has been changed to Connect with PayPal. See if anything in helps you. Thanks MrPhil, I am back and I just looked at it. Actually, peterbuzzin mentioned to un-check the "Telephone Number" and "Seamless Checkout" from within "Admin > PayPal App" which I don't see in my admin. Quite frankly I don't remember how I got my APP and I am guessing that my installation may not not be complete. Do you have the link to the PayPal App? I am thinking about reviewing it and if needed re-installing it. My searches take to https://apps.oscommerce.com/fZMiN&paypal-app which is an older v5.010. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.