Jump to content

Disable manual payment when active subscription


arsen99

Recommended Posts

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

Link to comment
Share on other sites

  • WHMCS Developer

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?

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated