0
I am planning for a new payment plugin. Before I engage a developer I would like to know if certain the following is possible.
Background
- Payments are made offline (cash, cheque, etc.) at the POS
- The payment amount made will be entered by staff in a 3rd party component using the front end.
- Staff do not have access to the IM backend nor front end ie they only use their 3rd party component.
Requirement
- I would like the 3rd party component to pass the payment details (date, amount, payment type, payment note) to Invoices Manager
- Customers will access Invoices Manager for displaying of payments on the front end (normal functionality provided by IM today)
Is it possible to have a plugin which receives all the payment details by a 3rd party component and not a user? Basically a trigger to write the records rather than writing the details directly to the table.
If this is not possible today, is it possible to call the functions that update the payments tables so we can call those. If so, which functions?
Thanks in advance for your assistance.
Background
- Payments are made offline (cash, cheque, etc.) at the POS
- The payment amount made will be entered by staff in a 3rd party component using the front end.
- Staff do not have access to the IM backend nor front end ie they only use their 3rd party component.
Requirement
- I would like the 3rd party component to pass the payment details (date, amount, payment type, payment note) to Invoices Manager
- Customers will access Invoices Manager for displaying of payments on the front end (normal functionality provided by IM today)
Is it possible to have a plugin which receives all the payment details by a 3rd party component and not a user? Basically a trigger to write the records rather than writing the details directly to the table.
If this is not possible today, is it possible to call the functions that update the payments tables so we can call those. If so, which functions?
Thanks in advance for your assistance.
Responses (2)
-
Accepted Answer
0Hello,
the trigger is something you will need to build yourself. Since what you're requiring is not actually IM "informing" you of changes, but actually you inputting new payment info into IM databases, what you need to do is simply to create these new payments in your extension.
there is NOT a payment API in IM, so what you need to do is directly input this data into the DB. do you know what I mean? -
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »