sales reports- no sold items showing up
| Project: | Ubercart Marketplace |
| Version: | 5.x-1.0-beta4 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
hi tugrid,
i'm testing your module right now and it works great- users can upload their downloadable products and sell them. however, after the admin changes the status of an order to "ready for download" by clicking on "received check" (which is the pament method i'm trying this module with by now), the buyer is able to download the file under "my account>files", but nothing shows up in any of the sales reports ("product reports", "sales per year", "sales summary"). from the code it looks like orders will only show up if their status is "completed", still changing the order staus from "ready to download" to "completed" doesn't change anything in the seller's sales reports.
checking back with the database i found that there are no orders listed in the "mp_seller_payments" table....
any ideas?
thanks a lot

#1
First off, I never tested this module or had the intention of it being used with manual payment methods, such as checks. So you may have uncovered bugs, etc. If you are using checks for the purpose of testing, try the credit card test gateway that comes with Ubercart.
Secondly, sales (from the Seller's perspective) only show up when the order is "completed." I assume that is the reports you talk about when you say "product reports," etc? The Ubercart admin reports should work regardless.
As you may have noticed, Seller "orders" have their own internal order status (mp_seller_order_statuses table). This status is reflected on a Seller's my account>>selling>>fulfill orders page. If it says completed there, the order should be showing up in reports. Please let me know if it says "completed" next to your test orders at this screen. Is the order even listed there?
The issue lies with subtleties between order statuses and the updating of order status process. If you are updating the orders manually in Ubercart admin area, perhaps my hooks are being bypassed that update the internal structure of Seller orders. This could be a misconfiguration/sequence of updating, or a bug.
#2
ok problem solved, did a new clean install and it looks like the problem was the payment method, everything now works with credit card payment! changing an order status manually in the ubercart administration to completed however seems not to work for me, but i'll hopefully won't need that. thanks a lot
oh and one more rather funny thing, the filenames of the uploaded files are changed from filename.ext to productname.ext, so if i upload a product called test which is a file called document.doc, the downloadable file's name would be test.doc!
#3
Glad to hear it is working (for the most part). The item you mention with the files being renamed is actually by design to avoid ambiguous file downloads that sellers may attach or naming conflicts. I felt this was the best and most intuitive fashion for the customer and store.