Jump to content

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

Recommended Posts



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


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.





Link to post
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.

Reply to this topic...

×   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.

  • Create New...