Solved

Automatic PayPal Payments

Posted on 2011-09-17
8
558 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:Nathan Riley
[X]
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
  • 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 12

Author Comment

by:Nathan Riley
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
CHALLENGE LAB: Troubleshooting Connectivity Issues

Goal: Fix the connectivity issue in the lab's AWS environment so that you can SSH into the provided EC2 instance.  

 
LVL 12

Author Comment

by:Nathan Riley
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 12

Author Comment

by:Nathan Riley
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 12

Author Closing Comment

by:Nathan Riley
ID: 36564374
Ok, I'll think on this thanks!
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This video teaches users how to migrate an existing Wordpress website to a new domain.

635 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