How to implement invoice processing in Hikashop?

  • Posts: 112
  • Thank you received: 0
11 years 4 months ago #110996

Hi folks,

I need your help understanding how I could utilise Hikashop for invoice processing. Lets say my company has customers who would like to pay their invoices through our website. I was thinking of using Hikashop for it. I would need to present a form with a couple of fields to them to input their invoice number and an amount to be paid. Ideally they should be able to make multiple entries. It's highly desirable, but not essential. What type of custom fields would you recommend using for this scenario: order, item, entry, anything else?

Also, when I think about it more, I'm not sure how I would be able to pass values stored in the amount field in to the checkout totals. Your suggestions would be highly appreciated.

Thank you in advance.

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 4 months ago #111024

Hi there,

I'd like to be sure of what you want, is the amount of the order specified by the client? If so, you'll have to create a new order based on the information given and in this case it's doesn't matter what kind of fields you are using since you'll have to submit a form to create this order.
However, if you plan to create the orders by yourself, I would advise you to give your client informations to login and redirect them to the order management view in the user panel. There, with the "Payment of orders not paid immediately" option activated, they will be able to pay for the order you created.

I hope, it helped, do not hesitate to ask if have more questions ;)

Please Log in or Create an account to join the conversation.

  • Posts: 112
  • Thank you received: 0
11 years 4 months ago #111207

Hi Eliot,

Thank you for taking time to understand my requirements.

To clarify, our customers would like to use our shopping cart in order to pay their invoices/bills which would be generated and issued to them by another product outside of hikashop. When they come to our site, I want to present a form to them where they can enter their document reference (like invoice #) and the amount to be paid. Ideally they may want to pay miltiple bills/invoice in one transaction. I thought each transaction would generate an order in hikashop so users can review their payment history later if needed.

For example a customer would like to pay 2 invoices: invoice #1 for $20.00 and invoice #2 for $30.00 through hikashop. He would make two entries: #1 for $20.00 and #2 for $30.00. These two entries should be part of the same order. The total of the order to process would be $50.00.

So, my questions are: would I need to create a product called "invoice processing" with $0.00 price which would get overwritten by the amounts entered? What type of custom fields is best to use for collecting invoice refence number and amount to be paid so that each order/transaction could have multiple entries for invoice & amount?

Now, how would I pass on the total amounts to be paid ($50.00 in my example) to the checkout totals? I assume I would need to modify some code?

I hope the above clarifies my requirements.

Thank you in advance.

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 4 months ago #111248

Now I get it :).

I think the best way to do this would be to use the donation plugin to create a custom field.
This plugin will allow your customers to enter a specific value they want to pay.
Associating this plugin with some custom fields with the type "item" and displayed on the product page will present them a product with the information required.

You can take a look at this thread which give give more informations and you'll be able to see the system working on someone else's page: www.hikashop.com/fr/forum/4-how-to/83889...n-plugin.html#110888

The following user(s) said Thank You: lrazov

Please Log in or Create an account to join the conversation.

  • Posts: 112
  • Thank you received: 0
11 years 4 months ago #111559

Hi Eliot,

That's exactly what I needed! Thanks a lot!

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum