![]() |
How to code a PayPal button to send a payment to a third party? I know that there is an API function to split a single 'Buy Now' button payment, but I do not want to use that method. I want to make two distinct payments for a downloadable software product with two separate PayPal buttons thus: 1) A 'Subscribe Now' button that pays me, the programmer, an initial amount followed by a monthly subscription to my PayPal account. (I already know the PayPal code to do this.) 2) A second 'Buy Now' button that pays the licensee, whoever that may be, to his PayPal account. I know that I can ask the licensee to create his own PayPal button and give me its 'Hosted Button ID', which I can then use in my code, but this is too error-prone. I want to program the second 'Buy Now' button to send the payment directly to the licensee's PayPal account by using ONLY the licensee's PayPal account email address. How do I code the second 'Buy Now' button to do this, please? |
Re: How to code a PayPal button to send a payment to a third party? You need a hidden field to specify the email address instead of a hosted ID. Code: <input type="hidden" name="business" value="your-email@address.com">Code: <form action="https://www.paypal.com/cgi-bin/webscr" method="post">Code: <input type="image" src="http://thebuttonurl.com/thebutton.jpg" border="0" name="submit" alt="Your Alt Tage"> |
Re: How to code a PayPal button to send a payment to a third party? Contact PayPal about their "Chained Payments." I believe that will do what you want. |
Re: How to code a PayPal button to send a payment to a third party? David V's solution is exactly what l was going to recommend. |
Re: How to code a PayPal button to send a payment to a third party? Yes. The "business" parameter is exactly what I need. So simple! Thank you all very much. |
| All times are GMT -6. The time now is 02:12 AM. |