Jump to content

Blesta Mails (Invoice Due + reminders) have wrong link because {payment_url} ignores directories


Recommended Posts

Posted

Hi!

 

So anyone installing blesta NOT under the root dir of a sub-domain/domain (ie https://billing.example.com/ ) will have wrong links in the invoice due + reminder e-mails.
Examples: https://example.com/billing/ or https://example.com/users/

This is caused by the

 {payment_url} 

variable not including sub directories.

Resulting in an url that should be: https://example.com/billing/client/pay/method/82/?sid=XXXX
To be: https://example.com/client/pay/method/82/?sid=XXXX (No Login Required)

 

I can reproduce this on any fresh 5.X blesta installation.

Steps:

 

 

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...