Jump to content

Disallow users from canceling invoices


Go to solution Solved by Adriano Faria,

Recommended Posts

Posted

There are instances where invoices are automatically generated, and may take funds from a users credit. Cancelling them would return that credit. So there are valid reasons for this

  • Solution
Posted

Since this is a service-related charge, we believe the user should not be able to cancel the invoice on the front end. To address this, we opted to hide the cancel button using CSS. Also and just in case the user already knows the URL to cancel the invoice:

  • A hook on IPS4 will throw an error message when trying to cancel the invoice.
  • The PENDING status is restored via Invoice Listener on IPS5.
  • Recently Browsing   0 members

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