Jump to content

Invoice items from gateway


Recommended Posts



I am trying to do some custom ordering pages. I assume the payment gateway records the invoice ID and this is what is used to mark an invoice as paid once the gateway posts back to WHMCS. However, for multi line invoices how does it know which line a payment applies to?


Do we need to send anything special back from a payment from the gateway? Or do all payments simply act as credit towards an invoice? I guess I am confused for instance if a user orders 2 hosting accounts on one order/invoice, but only pays for one of them, how does it know which to credit/mark as paid?

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.

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