arsen99 Posted September 14, 2017 Share Posted September 14, 2017 Hello We have some problems to combine manual payment and subscription. There are two issues: 1. Invoice is generated 7 days before due date. When client have subscription he is informed not to pay it (via if/else in template). But when he go to his account he still see unpaid invoice, and he can pay it manually. Unfortunately almost everyone is doing it. And then after few days paypal is sending next payment for the same invoice, and we have to make refunds all the time. Is there a way to disable manually payment when there is an active subscription? 2. How it is possible - paypal is sending money automatically(subscription), the invoice is paid, and after few hours or on the next day, the client is paying the same invoice second time manually? Thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted September 15, 2017 WHMCS Developer Share Posted September 15, 2017 Hey 1) There is a hook you can use ClientAreaPageViewInvoice which you can define your own smarty variables. You can use this to override the paymentbutton smarty variable. https://developers.whmcs.com/hooks-reference/client-area-interface/#ClientAreaPageViewInvoice 2) Does your client have more than one subscription setup? If you check the gateway log for the second payment, does it have a subscription ID in the log? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 18, 2017 Share Posted September 18, 2017 with regards to 1) - https://forum.whmcs.com/showthread.php?132365-Hide-Pay-button-on-invoice-when-due 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.