3 replies [Last post]
Vantel's picture
Offline
Joined: 06/03/2010
Juice: 68
Was this information Helpful?

I have a need that will use ubercart invoice as a receipt. I currently used the Check option as a form of payment on my website. I want the customer to be able to view the invoice (receipt) only after I've received payment. How can I do this?

royerd's picture
Offline
Joined: 01/22/2008
Juice: 293
Re: How to hide Invoice from view until after payment received

I would look at when the invoice is being created. I don't recall off the top of my head--is it at "order completed" ? I would keep the order status "pending" until after the check is completed. We take a few checks as a payment method--if the payment method is "by check" then the order stays pending until I manually change it to "completed" (after I get the check). So I wonder if that's something to look at. Perhaps the invoice is not generated until "completed"?

Dan

Vantel's picture
Offline
Joined: 06/03/2010
Juice: 68
Re: Re: How to hide Invoice from view until after payment receiv

Thanks for your reply Dan. I did that. I kept the order in "Pending" and the customer is still able to view and print the invoice. Any other suggestions? Thank you.

royerd's picture
Offline
Joined: 01/22/2008
Juice: 293
Re: How to hide Invoice from view until after payment received

Hmm. OK, well, next I'd probably rethink just *why* I wanted to do this and see if there's something else that occurs to you to do--some very different way. Or I would think about permissions to the order itself. I assume "authenticated' has permission to view order or "own order" and I suppose you could use a system of permissions given at "pending" or perhaps at "completion" that finally gives one permission to view the order? Does that make sense?