Blueberry3.14 Posted May 16, 2007 Share Posted May 16, 2007 I've had 2 different clients be unable to pay an invoice from clicking the "pay now" button since upgrading to v3.1.2. Both times I was either online in IM or on the phone with them as they tried. They click "pay now" from the invoice, and it takes them back to their "client area" screen. With the second client, I logged in as client, just to make sure of what she was reporting. I'm going to submit a support ticket, but I thought I'd post here just to see if anyone else is having this problem. I didn't see anything when I searched, but ya never know...I could be missing the obvious. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted May 16, 2007 Share Posted May 16, 2007 Hi, Have you edited the Invoice template? Are you 100% certain it isnt a template coding error? Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
Blueberry3.14 Posted May 16, 2007 Author Share Posted May 16, 2007 Hi, Have you edited the Invoice template? Are you 100% certain it isnt a template coding error? Cheers, Paul I haven't made any changes to the invoice template. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted May 16, 2007 Share Posted May 16, 2007 It may be worth re-uploading the upgrade changed files, just in case you missed one. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
Blueberry3.14 Posted May 16, 2007 Author Share Posted May 16, 2007 It may be worth re-uploading the upgrade changed files, just in case you missed one. Cheers, Paul I unzipped 3.1.2 on the server, b/c this particular upgrade made my FTP choke. Thanks for trying to help though 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted May 16, 2007 Share Posted May 16, 2007 Didn't you have other problems with the upgrade? 0 Quote Link to comment Share on other sites More sharing options...
Blueberry3.14 Posted May 16, 2007 Author Share Posted May 16, 2007 Didn't you have other problems with the upgrade? Yes, I did. Matt said this issue might be SSL related. If I find the solution I'll post here, in case anyone else has the same problem. 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted May 16, 2007 Share Posted May 16, 2007 I just noticed the same thing here. When clicking the PAY NOW button on the the invoice email, it will take to the Client Area, where client will have to login and access his invoice in order to pay. Shouldn't the PAY NOW button direct him straight to the invoice so he can pay without accessing the Client Area? At least that's how I thought it would work. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted May 16, 2007 Share Posted May 16, 2007 But they still need to login, right? Otherwise their invoices wouldnt be very secure. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted May 16, 2007 Share Posted May 16, 2007 Sure, but login to the invoice page directly, otherwise, the PAY NOW button is useless, it's just the same as the Client Area link informed on the invoice already. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted May 16, 2007 Share Posted May 16, 2007 Yes I understand your point... but how will that button work to login a customer automatically? Are you suggesting perhaps submitting the data using that button to a form on the website? i.e using post? Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted May 16, 2007 Share Posted May 16, 2007 I'm no programmer, I don't know how that could be achieved. I think just directing to the invoice page instead of the Client Area page would be enough. I thought that would be the original idea for the PAY NOW button. 0 Quote Link to comment Share on other sites More sharing options...
Blueberry3.14 Posted May 16, 2007 Author Share Posted May 16, 2007 I just noticed the same thing here. When clicking the PAY NOW button on the the invoice email, it will take to the Client Area, where client will have to login and access his invoice in order to pay. Shouldn't the PAY NOW button direct him straight to the invoice so he can pay without accessing the Client Area? At least that's how I thought it would work. My issue is happening after the client is already logged in. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted May 16, 2007 Share Posted May 16, 2007 I'm no programmer, I don't know how that could be achieved. I think just directing to the invoice page instead of the Client Area page would be enough. I thought that would be the original idea for the PAY NOW button. For that I'm GUESSING that the username and password would need be sent in the Invoice email. So maybe that's not a good idea for security reasons. Matt may be able to enlighten us though. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted May 18, 2007 Share Posted May 18, 2007 This is the link to the invoice itself that goes on the email: http://www.domain.com/whmcs/viewinvoice.php?id=341 Client will need to login and then will be redirected straight to the invoice, not to the client's area. Quick and easy. I think PAY NOW button should have the same functionality, right? Otherwise, the client will have to click on it to go to the client's area main page and then click on My Invoices link and finally click on one of the links in the invoice listing. It makes no sense to me. I'd rather not use the PAY NOW button then, just the invoice link itself. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted May 18, 2007 Share Posted May 18, 2007 Here's a thought, why not include your own pay now button, given that the email being sent is html anyway? <form method="post" action="https://www.domain.com/viewinvoice.php?id=[invoiceNo]" name="paymentfrm"><input type="hidden" name="invoiceid" value="[invoiceNo]"> <input type="submit" value="Pay Now"> </form> You will need to edit the email template in Code View. Also note that once you save it you won't be able to edit the form text button again. You will have to re-enter the html code again. It's because the WYISWG online editor doesn't like forms within its own form and so will remove the code. I havent tried it myself, so it may not work. (the WYSIWYG editor may remove the code anyway). Let us know if it does work though. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted May 18, 2007 Share Posted May 18, 2007 Ok...try this... edit your database using phpMyAdmin. Paste the above into the tblemailtemplates table, for the "Invoice Created" template in the "message" field. Should now do the trick. Just don't edit that template with WHMCS. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted May 19, 2007 Share Posted May 19, 2007 Cool! I'll try that. Tks, Paul! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.