Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Automatic PayPal Payments

Posted on 2011-09-17
8
551 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:N R
  • 4
  • 4
8 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36557904
Hi Gallitin,

You're describing a shopping cart system and there are thousands of examples out there that you can use with PayPal...
0
 
LVL 11

Author Comment

by:N R
ID: 36557994
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36558022
So customer pays you and then you need to immediately pay supplier?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 11

Author Comment

by:N R
ID: 36558038
Yes, that's right.  And suppliers only accept paypal.  I receive the payment via quickbooks online from my customers.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36558068
Gotcha.  

So where would you want to initiate the second payment?  Quickbooks?
0
 
LVL 11

Author Comment

by:N R
ID: 36558070
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
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 36558129
>> 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
 
LVL 11

Author Closing Comment

by:N R
ID: 36564374
Ok, I'll think on this thanks!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Simple SQL query from two tables 13 58
SYbase 4 36
a description for this result is not available because of this site's robots.txt 4 39
Database ERD 4 29
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question