Is it possible to add a Payment to the user invoice page?

Any tips? Or helpful hints?

Comments

benschaaf’s picture

I am trying to figure out how to allow clients to pay from the online invoice (vs. checkout). Or, how I can steer them from invoice THROUGH the checkout process.

benschaaf’s picture

Title: Payment Button » Payment / Checkout Process
guillaumev’s picture

Hi,

I can't figure out what you are trying to achieve. This module was designed with the following process in mind:
1. Client pays his order
2. Invoice number is generated
3. Eventually, invoice is sent out to the client by email

Can you give more details concerning your use case ?

benschaaf’s picture

Isn't that backwards?

Clients pay off of invoices. I would think that the process is:

1) Create Order
2) Invoice client
- Using rules send an email with link to invoice
3) Client pays invoice
- Using checkout system and payment module

I understand this is not how this module is functioning right now, your process isn't familiar to me.

guillaumev’s picture

Your process is fine for Business 2 Business, but for B2C it usually works the way I described it. Think when you buy for example electronic stuff in an online store, you usually first pay with your credit card and then, once payment is complete, you receive the invoice.

Anyway, I think changing the process should be possible and easy with rules. You just need to change when the "Generate invoice" rule is triggered. By default, it is triggered "After checkout completes", but you can probably change it to have it trigger before checkout completes or at any point you want in the checkout process...

Please try that and let me know...

benschaaf’s picture

I was away on holiday and didn't get a chance to try this out yet, but it sounds like what you are doing is creating a receipt, not what I would call an "invoice".

guillaumev’s picture

What I'm doing in this module is creating an invoice number, which is sequential and which sequence can be parametered in the store's configuration.

After that, given that this invoice number is created thanks to a rule, you can parameter it to be created whenever you want. I chose, in the default configuration, to have it created after the order's status is set to "Terminated" (so, after the payment has been done, the invoice is sent to the customer), but you can parameter it to have it created before the payment: it's really up to you to parameter your own process, that's the advantage of Rules...

guillaumev’s picture

Status: Active » Closed (works as designed)