Jump to content

Mark Invoices Paid


eugenevdm

Recommended Posts

We have successfully integrated PayGate South Africa's payment gateway and we get "success" and "unsuccessful" responses.

 

We now only need to find out how do we automatically update the orders / invoice / transactions database when we get a "success" response from the bank.

 

In other words, money has gone off the client's credit card now how do we (with a function? some code? db update?) mark the invoice as "paid".

 

Any help in the matter will be greatly appreciated.

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

Looking at tblinvoices, there appear to be two fields that you want to update: status and paymentmethod.

 

However you probably also want to kick off some other processes like

activating an order, creating a server account or maybe re-activating a suspended account.

 

Without knowing the internal logic of the system it's a bit hard to advise here...

 

HTH, Ozzie

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