Automatic PayPal Payments

I'm trying to find a solution for automatically sending a payment to my supplier when I receive and order for a product.

Currently after they place the order I go into paypal and then forward money on to the supplier.  I want it to be automated.  But I have 20 different products and each one is a different amount I send to the supplier.  So I would need some way to intelligently build in there that if this product then paypal this amount.  I'm assuming it would have to be scripted in somewhere after the payment is made to call the paypal api to do this?   Has anyone had any experience with this?
LVL 12
Nathan RileyFounderAsked:
Who is Participating?
 
Jason C. LevineConnect With a Mentor No oneCommented:
>> I'm not sure where to do it.  Is that where you would suggest it happen?

If possible.  That seems like the best place for it to happen from a workflow point of view (you get paid then they get paid).  Also, is it one paypal account with 20 items or 20 different accounts each with one item?

>> I assumed that somwhere within the web code I would have to initiate the paypal payment after a
>> certain page was called or something?

Yes, that would be the other way to do it.  Upon submission, go through the order and trigger a PayPal transaction for each item purchased.  Problem is, you are still doing paypal through the web so "automatic" is kind of relative...you would need to confirm each item or bundle it into one transaction.  In that case you ARE doing a cart transaction except you are the "buyer" instead of your customer.  In that sense you might just want to have a second cart system running...
0
 
Jason C. LevineNo oneCommented:
Hi Gallitin,

You're describing a shopping cart system and there are thousands of examples out there that you can use with PayPal...
0
 
Nathan RileyFounderAuthor Commented:
No, I use a shopping cart currently and the customer pays through that shopping cart.

What I need to know is if there is a way to make a payment be sent through paypal automatically after I sell a product.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Jason C. LevineNo oneCommented:
So customer pays you and then you need to immediately pay supplier?
0
 
Nathan RileyFounderAuthor Commented:
Yes, that's right.  And suppliers only accept paypal.  I receive the payment via quickbooks online from my customers.
0
 
Jason C. LevineNo oneCommented:
Gotcha.  

So where would you want to initiate the second payment?  Quickbooks?
0
 
Nathan RileyFounderAuthor Commented:
I'm not sure where to do it.  Is that where you would suggest it happen?

Since they suppliers only accept paypal I assumed that somwhere within the web code I would have to initiate the paypal payment after a certain page was called or something?
0
 
Nathan RileyFounderAuthor Commented:
Ok, I'll think on this thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.