B2B with intermidiary commision - IS THIS POSSIBLE?
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
B2B with intermidiary commision - IS THIS POSSIBLE?
Dear all
We are looking at providing a new web site system that does the following:
Seller A has an item for say £1000.
Buyer B purchases it and pays £1000.
We are the web site provider and sale provider, want to take a percentage commission automatically through the payment gateway.
So for example, PayPal take their 3.4%, and we take out 5%, leaving whatever is left to be paid direct to Seller A.
I cannot find any company that will do this.
PayPal
PayPoint
Worldpay
Noches
And many others all say this cannot be done.
Surely.... surely this is possible.
Simon
We are looking at providing a new web site system that does the following:
Seller A has an item for say £1000.
Buyer B purchases it and pays £1000.
We are the web site provider and sale provider, want to take a percentage commission automatically through the payment gateway.
So for example, PayPal take their 3.4%, and we take out 5%, leaving whatever is left to be paid direct to Seller A.
I cannot find any company that will do this.
PayPal
PayPoint
Worldpay
Noches
And many others all say this cannot be done.
Surely.... surely this is possible.
Simon
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
mattpointblank
- Forum Contributor
- Posts: 304
- Joined: Tue Dec 23, 2008 6:29 am
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
Pretty sure PayPal can do this... someone pays £1000, you credit your account with £50 (or whatever), then run a script that credits whoever they're paying with the remaining £950 (or whatever). Or the other way around. PayPal has an Instant Payment Notification system (IPN) which is basically a PHP script on your server that gets called when a payment is sent - you could use this to do what you need. Ask on the PayPal developer forums - this is a common request.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
But I don't want to manually keep putting money in, as there could be 30, 50, 100, 1000 purchases per day of any random amount.
So the "adding £50" wouldn't really work.
Simon
So the "adding £50" wouldn't really work.
Simon
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
You list the saleprice=price + your commission.
You sell the product at $saleprice.
Your buyer pays $saleprice.
You send your client (they need a paypal account or something) $saleprice-$commision.
This can easily be done with paypal, but you need a paypal account and so do your clients (to receive money). I haven't done automated payments, but you can definately do the automated buying. You might need to do a little homework on how to automatically send money to people....
You sell the product at $saleprice.
Your buyer pays $saleprice.
You send your client (they need a paypal account or something) $saleprice-$commision.
This can easily be done with paypal, but you need a paypal account and so do your clients (to receive money). I haven't done automated payments, but you can definately do the automated buying. You might need to do a little homework on how to automatically send money to people....
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
I can definitely see the logic.
Have never done direct A - B payments, as it's always A to me....
But PayPal do provide a full A - B service, but I cannot see how I can force PayPal's system to do the Saleprice - commission that I added in the formula.
Can you help there? Coz if you can, we may have cracked it.
Simon
Have never done direct A - B payments, as it's always A to me....
But PayPal do provide a full A - B service, but I cannot see how I can force PayPal's system to do the Saleprice - commission that I added in the formula.
Can you help there? Coz if you can, we may have cracked it.
Simon
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
Can't you just treat them seperately? You collect the sales money from A, then send out a payment B with your cut taken out.
So you just do a normal paypal sale, then once the money is confirmed (A to you), you compute the (payment-fees) and initiate a payment (you to B) to seller B? I don't know how to do automated payments from your account, I usually keep the money...haha.
I suggest you contact paypal support to see if you can do that with a standard merchant account or if you have to upgrade to pro....
So you just do a normal paypal sale, then once the money is confirmed (A to you), you compute the (payment-fees) and initiate a payment (you to B) to seller B? I don't know how to do automated payments from your account, I usually keep the money...haha.
I suggest you contact paypal support to see if you can do that with a standard merchant account or if you have to upgrade to pro....
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
If there are 50+ purchases per day, the manual side of this would be ridiculous.
Sorry, but a manual process is just not a good way here.
I am looking at the "two amounts" method and writing to PayPal, as then one amount would be paid to me, and one to the seller.
Basically, the whole thing must be automated.
Sorry, but a manual process is just not a good way here.
I am looking at the "two amounts" method and writing to PayPal, as then one amount would be paid to me, and one to the seller.
Basically, the whole thing must be automated.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
I didn't say do it manually. I'm not sure you are understanding what I am saying. For sure you can sell it and get paid automatically. You overbill the price with your commission into the sale. To solve the second part of your problem you need to call paypal and find out what solutions they offer sending money automatically.
Someone good at php could write a php script to emulate a browser entry and do this automatically, but I don't think you want to go there. Paypal might offer this service through a simple API which would be easier. I could have called them myself and found out for you in the time it has taken to keep posting this....
Someone good at php could write a php script to emulate a browser entry and do this automatically, but I don't think you want to go there. Paypal might offer this service through a simple API which would be easier. I could have called them myself and found out for you in the time it has taken to keep posting this....
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
Perhaps you should, as I really don't know what you mean. I'm am new to APIs, and do not know how to control what happens at PayPal.I could have called them myself and found out for you in the time it has taken to keep posting this....
All I know is that when you pass an amount to PayPal, that whole amount passes through them.
If there is a way to pass the initial figure through, but adding some on (1,000 + 100 for instance) and the 100 (random figure) is paid to me, then brilliant.
But how???
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
If you go with something like Paypal I think you'll have to take the full amount, then pass on the amount-commission. It'll be two transactions (and consequently two payments to the gateway provider). Paypal is a very limited payment gateway that's designed for person to person transactions. You'd be better off talking to someone like EPDQ or ProtX. And I do mean talking to, on the phone, because this sort of thing is an edge case scenario that won't be documented very well.
-
mattpointblank
- Forum Contributor
- Posts: 304
- Joined: Tue Dec 23, 2008 6:29 am
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
Yep, same with my post. I didn't say do it manually, I suggested doing it through IPN. I also suggested asking on their forum, since that will stop all our speculation here and give you proper, practical answers.Eric! wrote:I didn't say do it manually. I'm not sure you are understanding what I am saying.
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
With paypal you can certainly use the IPN for when buyers buy the product. From what I can tell on the web is they don't have a payment gateway or API for making payments to other accounts.
Calling them to find out for sure wouldn't hurt.
If you want to write some code, maybe you could use Curl to try to make payments via paypal. I assume the https will keep the transaction safe but I don't know for sure. It might take a while to work everything out. Here's some examples on curl which might help get you started. http://devzone.zend.com/article/1081
The process for getting Curl working with Paypal is something like this:
1. Get first login page to set basic cookies
2. Post Login Data to Page https://www.paypal.com/cgi-bin/webscr
3. Parse the login page to get the redirect
4. curl the URL you just parsed
5. Parse the data on paypal's page
6. Verify the transaction money cleared (...you can also get that from the IPN notice when the item was sold)
7. curl the URL for send money
8. Parse data
9. Post payment email address and amount
If you want to write some code, maybe you could use Curl to try to make payments via paypal. I assume the https will keep the transaction safe but I don't know for sure. It might take a while to work everything out. Here's some examples on curl which might help get you started. http://devzone.zend.com/article/1081
The process for getting Curl working with Paypal is something like this:
1. Get first login page to set basic cookies
2. Post Login Data to Page https://www.paypal.com/cgi-bin/webscr
3. Parse the login page to get the redirect
4. curl the URL you just parsed
5. Parse the data on paypal's page
6. Verify the transaction money cleared (...you can also get that from the IPN notice when the item was sold)
7. curl the URL for send money
8. Parse data
9. Post payment email address and amount
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
Hi
I'm exactly sure how this will work to make two makes with PayPal or Google Checkout.
It appears ths cURL has to be installed on the said web server, and since I don't own the server I am unable to do this.
I find it quite amazing that there isn't a tool so that the system can work in exactly the same way that Ebay does now - A - C transfer, with a B in the middle taking a commission with full knowledge of both parties.
Surely someone does this without the need for extra APIs or jiggery pokery.
Simon
I'm exactly sure how this will work to make two makes with PayPal or Google Checkout.
It appears ths cURL has to be installed on the said web server, and since I don't own the server I am unable to do this.
I find it quite amazing that there isn't a tool so that the system can work in exactly the same way that Ebay does now - A - C transfer, with a B in the middle taking a commission with full knowledge of both parties.
Surely someone does this without the need for extra APIs or jiggery pokery.
Simon
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
curl might be installed already, just test it or request it be installed.
There aren't a lot of people wanting to send money automatically out there, so yes, jiggery pokery is needed for the few. You could take it to a higher learning curve level by learning the fsockopen tricks to do this instead of cURL, but that is a harder path.
I think your first sentence means you need more information or are we already past that point of hopelessness?simonmlewis wrote:I'm exactly sure how this will work to make two makes with PayPal or Google Checkout.
....Surely someone does this without the need for extra APIs or jiggery pokery.
There aren't a lot of people wanting to send money automatically out there, so yes, jiggery pokery is needed for the few. You could take it to a higher learning curve level by learning the fsockopen tricks to do this instead of cURL, but that is a harder path.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: B2B with intermidiary commision - IS THIS POSSIBLE?
Ahhh, I don't want to send any money "automatically".
I was the user to know where the money are going for transparency purposes.
It's highly improper to pay money and not know it's intended recipients, and I have never requested this.
My 'automatic' request has been for money to be paid from A to B, while us taking a commission to the full knowing of the buyer, who may also see the commission by the payment provider (google, paypal etc).
This isn't a system to be sneaky or slip payments under a radar.
I was the user to know where the money are going for transparency purposes.
It's highly improper to pay money and not know it's intended recipients, and I have never requested this.
My 'automatic' request has been for money to be paid from A to B, while us taking a commission to the full knowing of the buyer, who may also see the commission by the payment provider (google, paypal etc).
This isn't a system to be sneaky or slip payments under a radar.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.