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?
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
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?
