Jump to:
| Project: | Ubercart Marketplace |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | syndicateStorm |
| Status: | active |
| Issue tags: | seller info, Ubercart, ubercart marketplace |
Issue Summary
Hello - like many have said before, GREAT module! I wonder if you could tell me how to set it up to pay sellers upon sale of one of their products?
My first issue is how does one go about setting up the sellers payment info (i.e. bank routing or credit card number - not really sure how this part works as this is my first shopping cart setup)? I haven't been able to find that as of yet. Once that is setup, I read in your documentation that one should go to admin/store/reports/seller/custom and select the seller that should be paid - well, none of the sellers are able to be selected (might be because I am the admin user and coincidentally the only one who has sold something?).
Any help would be greatly appreciated!
Thanks again for the great work - and if you ever need a hand, let me know!
-Andrew
Comments
#1
First, the admin will not appear on the seller report to pay. Sellers will only appear after their seller order statuses are set to completed, in d6 by checking the box noting that it shipped.
Currently the only way to pay sellers is with Paypal Masspay. You can enable a manual payment field, so sellers can enter details such as bank routing #, but this remains a manual process for admin to send the money. You can enable Paypal as per the (outdated) documentation here: http://drupal.org/node/326102. The information relevant to seller payments should still apply.
#2
Turgrid,
Thanks for responding to my post - that is all I needed to know! Again, thanks for your work on this module - it is a great extension to ubercart. I might look into writing some sort of a cron script (once I've looked at the details of paypal masspay) that can trigger such a payment. If I come up with anything good, I'll send it your way.
Regards,
Andrew
#3
Hi,
First of all, great module! Unfortunately, I'm having the same issue as comment #50 cuelaid on this thread http://drupal.org/node/277915 (sending payment to sellers via Paypal Masspay) except I'm running version 6.x. WPP had already been setup on our live site and I added the IPN url to http://www.mysite.com/masspay/ipn on our Paypal account. However, the payment status field is still showing up blank on the masspay response page (and Paypal history behaves like nothing ever happened). Was there a fix for this?
I can also offer programming/patching help as well as sponsorship if you're looking for it. Thanks again.
#4
Upgrading status and assigning to myself. I've run into this bug myself so I'll see if I can resolve it. If anybody's patched this already, post it here.
#5
HI
Great Module, also having the same issues, just wanted to check if any ideas on either solving or working around this?
Thanks
AndyB
#6
subscribing.
#7
I am having this problem as well.
I would like to subscribe to this post, but I do not know how.
If anyone finds a fix Please email me
James
#8
I am also having this problem..
The sale goes through on sales report. Except under seller commision it is blank. When I go to make a payment, it shows the sale except commission is blank.
#9
Hi,
I have also facing some problem to get desired result.
When i went to "masspay/ipn" then it gives me "access denied".
Mass payment worked with sandbox(developer) a/c or not ??
#10
I was having the same issue. I changed
'callback' => 'mp_reports_masspay_ipn',to'page callback' => 'mp_reports_masspay_ipn',on line 131 in mp_reports.module.Now I am able to access the page and the status reaches to completed when I make a payment. But I get the following error in the log.
warning: Invalid argument supplied for foreach() in /home/mysite/public_html/includes/common.inc on line 874.
warning: strtr() [function.strtr]: The second argument is not an array in /home/mysite/public_html/includes/common.inc on line 891.
#11
For clarity, I made a few minor formatting changes to the "key" and fixed a white screen of death I ran into while working with seller payments.
Also, I will be setting up masspay on a site shortly and will leave feedback here regarding the setup process. If a problem is found I will get in touch with jbrodbeck and we will resolve it as soon as possible.
#12
invadermedia, nice catch. 'callback' was changed to 'page callback' in Drupal 6.x, see http://drupal.org/node/103114.
I've committed the change. I'll let you know if I have similar errors in the log when I get that far.
#13
#14
The latest dev release (should be available sometime today) contains a handful of minor changes to Marketplace to get Masspay working properly. You will need to uninstall marketplace completely and then reinstall it for some of the changes to take place.
I am done working on this issue until someone leaves additional feedback regarding the latest dev release.
#15
I have uninstalled module and then installed again.
Afrer selectig checkbox at admin/store/reports/seller/custom page , page go to admin/store/reports/seller/payments.
At this page(admin/store/reports/seller/payments), at the end of table its says "payment status = NULL" BUT actually it completed payment in paypal.
So i think right now status is not updating here(admin/store/reports/seller/payments) and thats why commission is as it is at admin/store/reports/seller/custom ..
I am using paypal sandbox.
#16
kuldipz,
Thanks for testing this. I think payment status = NULL is not the best naming convention on my part (I'm open to suggestions). What it means is that an Instant Payment Notification (IPN) hasn't been recieved. Do you have IPN working? IF succesful Paypal usually sends an IPN within a few seconds (it can take longer though). Since there is a delay you will need to keep refreshing the admin/store/reports/seller/payments page until the "payment status" changes (assuming you have IPN working).
So check to make sure you have IPN working and let me know if you have success or if there is still a problem.
#17
Hi,
IPN is still not working. 'masspay/ipn' have blank page.
#18
If I understand you correctly, you are saying the page at 'masspay/ipn' is blank. If so, this is not a page you can access directly, so being blank is ok. This is the callback function Paypal calls after Masspay is processed.
Other than debugging the code directly, there are only a few ways I can think of to confirm IPN is working (or not):
(1) Look under the menu "Reports>>Recent log entries" or go directly to admin/reports/dblog after trying to process the Masspay (after you get to admin/store/reports/seller/payments). You should probably see an error message or a success message. If you do get an error message let me know what it is. If not, try one of the other suggestions below.
(2) Make sure you have IPN configured.
(a) Go to your Paypal sandbox account
(b) Select "Test Accounts"
(c) Select the radio button for the "Business" user who has the API Credentials you used for your Drupal site
(d) Press the "Enter Sandbox Test Site" button
(e) Login
(f) From the "Profile" menu under the "My Account" tab, select "More Options"
(g) Under "Selling Preferences" select "Instant Payment Notification"
(h) Make sure "Message delivery" says "Enabled" and the "Notification URL" is correct
(i) Perhaps I am too lazy and impatient but I couldn't get this working on my local computer so I used a live domain name for the "Notification URL". The URL I used was "www.yourwebsitename.com/masspay/ipn". I would imagine you could use something like IP-ADDRESS/masspay/ipn with some port forwarding magic or something on your local computer but... If someone figures this out or has done this before please post it. Otherwise I'll figure it out later when I'm more motivated.
(j) IPN should be working now. Refer to (1) again.
(k) Don't forget to refresh the admin/store/reports/seller/payments page while you're waiting for the "payment status" to update from NULL (or "Pending" in the latest dev release). Maybe when I have more time I'll add some AJAX to make it clearer the web page is waiting for a Paypal callback...
(3) Make sure you have the proper API Credential filled in at /admin/store/settings/payment/edit/gateways
I can probably come up with some more ideas. But I think this is enough to keep you busy for a while :-). Let me know how it works out?
#19
SUbscribing, greetings, Martijn
#20
I'm returning this issue back to a support request since I believe this bug is actually fixed. I will continue to monitor this issue closely and provide support since it is so critical to marketplace.
#21
I am having an issue with the seller’s permission? I am attempting to set the permissions so that the sellers can only edit their product and not other seller’s products.
I set up two roles (seller) and (merchant)
The (seller) cannot edit their products at all.
But the (merchant) can edit not just their products but all products from all sellers.
Point: if the permissions for (seller) and (merchant) are exactly the same why can one be edited but not the other? These two roles permissions are set exactly the same?
#22
maxwellx, if I understand you correctly, you've set up two new roles, one called "seller" and another called "merchant". Your question is why do the two roles behave differently even though their permissions are the same?
If the above is correct, I'm not sure I can be of much guidance. I don't know how two roles created with the same permissions could behave differently? Sounds like more of a Drupal problem than a Marketplace problem. However, I would guess the permissions between the two roles are not actually the same. You can check this in the admin section under User Management >> Permissions. I would recheck all the permissions but be sure to specifically check permissions of the form mp_* where * is a wild card.
Let me know what you find out and I will help if I can. Cheers.
#23
can I pay a seller in points.
I am using points on my system. I would like the seller to be able to be paid in points.
I also want the goods sold to have points instead of dollars.
Any ideas?
#24
SocialNicheGuru, I am actually quite interested in this myself and have been thinking of implementing such a feature. I haven't had time to see what other work has been done out there. Perhaps there is an Ubercart module that already exists (I couldn't find one, but I didn't look too long) we could use as a starting point for Marketplace.
Anyone out there know of any existing modules of this nature?
I agree with SocialNicheGuru that this would be a very useful feature for Marketplace especially considering how the pay model presently works in mp (for example, I think this would reduce risk, chargebacks, etc.). I don't think it would be too hard to implement, but I'm not sure I will be able to get to it for a few months.
#25
I would think this should leverage the userpoints module for Drupal. Some Ubercart integration is provided in this module: http://drupal.org/project/userpoints_ubercart
Ideally, the seller payment infrastructure should be abstracted to handle the multiple use cases. This may be challenging though given that only one is currently written and something like points could be added automatically after every order instead of incrementally through a form such as the masspay form. Just a thought to consider if possible.
#26
Thanks Turgrid. I'll look through this, it certainly looks like it has potential. I agree we'll have to be careful with integration if we move forward with this. Ideally if you wanted a point system you would just install Ubercart Userpoints, leave Marketplace alone, and be done with it. I'm sure it will be more complicated. Perhaps we can add an additional module to marketplace, like mp_points, which could hook into Ubercart Marketplace (without altering it at all) and provide an interface for Ubercart Points if the user so desired.
#27
your mp_points idea sounds grand.
#28
Hi,
you said the seller can enter Bankdetails for manual pay. Would it be possible then, to create a list of the open payments the marketplace owner has to do to the several sellers in a certain timespan for example on a monthly basis?
I would like to export these data as a table-format, so i would be able to use them in a banking software.
Because the information is already in the system, because I can do the paypal masspay - but I am not sure, if I can create a list for example with Views to get the data out of the system.
What do you think?
Regards
Michael