To post a new support question, click the Post New Topic button below.
Current Version: 4.9.3 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Invoice Pay Now Button Doesn't Link

61 posts
Mon Apr 24, 17 8:28 AM CST
So this may or may not be related to my recent billing issues but I sent a test invoice to myself (trying out Square) and the "Pay Now" link doesn't link to anywhere (it is visible, just doesn't appear to be linked). Edit: if I click on "My Orders" the pay now works, just not when following a link from the email directly to the invoice. The link that comes up when clicking through the invoice email is:

website.com/cart/index.php?view=order

and not website.com/cart/index.php?view=order&myorder=10390

Is there something on my end that affects the "email invoice" link?
Edited Mon Apr 24, 17 8:32 AM by Season Moore
16,250 posts (admin)
Mon Apr 24, 17 10:48 AM CST
When you say it's not linked, do you mean you click Pay Now and no payment options show?
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
61 posts
Mon Apr 24, 17 11:38 AM CST
Yep, it does nothing when clicked from the emailed invoice link.
16,250 posts (admin)
Mon Apr 24, 17 12:25 PM CST
I can't duplicate this issue. View the invoice in the admin, click Email Invoice and just copy the content of that email and send me an email and paste that content in there.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
61 posts
Mon Apr 24, 17 12:26 PM CST
It's the link that is wrong (I edited to add it to the first post) - I will copy the whole thing in the next post.
16,250 posts (admin)
Mon Apr 24, 17 12:33 PM CST
The link isn't wrong. The link in the email does a redirect to that link and keeps the order number in a session variable. That is why I need a copy of the email.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
61 posts
Mon Apr 24, 17 12:33 PM CST
This is the email text:

Invoice [INVOICE_NUMBER] has been created.

Amount: [INVOICE_TOTAL]
Date: [DATE]
Due Date: [DUE_DATE]
[SCHEDULED_PAYMENTS]

[INVOICE_LINK]Click here to view details & pay your invoice[/LINK]

Thank you,
[WEBSITE_NAME]

The link looks like this: http://www.seasonmoorephotography.com/cart/index.php?view=order&action=orderk&oe=6b07186a35d9fea835ed8b688cb0a82f&on=7f96b48eff9b7a8f8ebe955363b7b260

And ends up here:

http://www.seasonmoorephotography.com/cart/index.php?view=order

Pay Now link looks normal but it doesn't go anywhere. If I click on the same order from the order list the link is:

https://www.seasonmoorephotography.com/cart/index.php?view=order&myorder=10390

Let me know if that was the right email - I can try sending you an invoice too?
Edited Mon Apr 24, 17 12:34 PM by Season Moore
16,250 posts (admin)
Mon Apr 24, 17 12:57 PM CST
It's not working because the link in the email doesn't include the httpS ... and Square is generating a javascript error because of it (it requires a secure page).

So in your Sytist admin, click Settings in the main menu.

Under the left menu click edit config file.

Change this line:

$setup['url'] = "http://".$_SERVER['HTTP_HOST']."";

TO this:

$setup['url'] = "https://".$_SERVER['HTTP_HOST']."";

And save.

Then the link in the email with have the s in http
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
61 posts
Mon Apr 24, 17 1:01 PM CST
Genius! Man I have had a secure server for like 8 (?) years and just recently started having these http/https issues in the last few months. Thank you!
N
19 posts
Fri Jun 02, 17 8:50 AM CST
Hi Tim,

I'm having this same problem but can't figure out where the edit config file is. Where do I find this?
16,250 posts (admin)
Mon Jun 05, 17 5:18 AM CST
Scroll up and view my reply above Season Moore's last post.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
11 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 762 times
Category: Bug
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close