Post by f1br3opt1c » Sat Jul 08, 2017 8:00 pm

Hi,

How do i change the redirect URL for "Log in with paypal" module after a successful login? Currently it redirects a user to the account page after a login but i would like to redirect them to the checkout page after login since my button is only on my checkout page.

Thank you.

New member

Posts

Joined
Fri May 24, 2013 5:36 pm

Post by rjcalifornia » Sun Jul 09, 2017 12:44 am

Check the payment controller where the form is called on, I think it is
paypal.php

Look for this line:
<input type="hidden" name="return" value="http://awsomestore.sv/store/index.php?rou ... ut/success">

Change that return value to whatever fits your needs.

Image


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by f1br3opt1c » Sun Jul 09, 2017 11:51 pm

Thanks rjcalifornia. Found it at echo '<script type="text/javascript">window.opener.location = "' . $this->url->link and change account/account to checkout/checkout

New member

Posts

Joined
Fri May 24, 2013 5:36 pm
Who is online

Users browsing this forum: No registered users and 1 guest