Solved

Automatic PayPal Payments

Posted on 2011-09-17
8
537 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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 dynamically set the form action using jQuery.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now