Jump to content

Recommended Posts

Posted

Hi all,

 

Currently, I'm developing a payment gateway and this gateway want not support from pay past due.

 

So, I want to disable my gateway when client use pay past due. How do I can that?

 

Please help me. You can see images as attached.

 

Thanks,

Phong

post-11453-0-22774800-1446710448_thumb.p

post-11453-0-31302700-1446710455_thumb.p

Posted

The "Pay Past Due" button simply checks the past due invoices to pay from the list of open invoices. Clients can still pay past due invoices whether they click that button or not. I'm curious why you would want to disable your gateway under that condition.

 

In any case, you would probably want to update the client_pay controller to set a session variable to set whether that button was clicked, and then remove your gateway from the set of non-merchant gateways that are loaded up on the next page.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...