Jump to content
  • 0

Pay Now Link In Email Redirecting To Login Page


lori

Question

Hi,

 

I am having a strange problem with Pay Now links in invoice emails. The link says Pay Now (no login required) and leads to the right place for the client to pay the invoice, but when they get to the page, they are automatically redirected to the client login page. To make matters even stranger, if the same link in the same email is clicked a second time, it goes to the correct page with no redirect. Any idea why/how that could be happening and how I can stop it? 

 

The way I am testing this is by clicking the link in a BCC of an email sent to a client. I was logged in as admin on the same browser that is opening the link, so thought that might be affecting it, but same thing happened after I logged out.

 

Thanks.

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

Not sure why clicking the same link would have differing results. I don't experience that issue.

 

 

Another strange thing to add to that last post... When I logged back in as admin, I was also redirected to the client login page. When I went back in my browser to the admin login page, I was logged in as admin.

Logging in can take you to the last place you visited, even if that happens to be the client interface. For example, if you're looking at support tickets, but you go idle long enough that you've been automatically logged out, you can login again and be redirected straight back to the support tickets.

Link to comment
Share on other sites

  • 0

We have the same problem too. After getting calls from clients saying they just get redirected to the login screen

 

Do you have a link when you hover over it mate, it shouldn't do that. It could be if your blesta folder has changed or your root folder is wrong or lastly issue could be the cron job location.

Link to comment
Share on other sites

  • 0

Tyson

 

The problem is because we are forcing the users to use https:// and the hyperlink is just http://

 

Could you tell me where is change {payment_url} in blesta.

 

Thanks

 

Rich

 

:s weird we force https:// and have no issues.

Try using this in your .htaccess:

# Force HTTPS
#RewriteCond %{HTTPS} !=on
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]

RewriteEngine   On
RewriteCond     %{HTTPS}        off
RewriteCond     %{SERVER_PORT}  ^80$ [NC]
RewriteRule     (.*)    https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]
Link to comment
Share on other sites

  • 0

 

:s weird we force https:// and have no issues.

Try using this in your .htaccess:

# Force HTTPS
#RewriteCond %{HTTPS} !=on
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]

RewriteEngine   On
RewriteCond     %{HTTPS}        off
RewriteCond     %{SERVER_PORT}  ^80$ [NC]
RewriteRule     (.*)    https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]

That did the trick. Thank you licencecart

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...