Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 28th, 2007, 05:15 PM
Authorized User
Join Date: Mar 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing values to PayPal


Does anyone have an example of passing database values to PayPal? How do I pass values into the input form required... I know very little about programming, so any code-behind etc would be extremely useful as I've been struggling to build my own for days.

<form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
   <input type="image" src="x-click-but22.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!>
   <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif width="50" height="50" id="addToCart">
   <input type="hidden" name="add" value="1">
   <input type="hidden" name="cmd" value="_cart">
   <input type="hidden" name="business" value="sample@sample.com">
   <input type="hidden" name="item_name" value="Item 1">
   <input type="hidden" name="amount" value="1.00">
   <input type="hidden" name="no_shipping" value="2">
   <input type="hidden" name="no_note" value="1">
   <input type="hidden" name="currency_code" value="USD">
   <input type="hidden" name="tax" value="0">
   <input type="hidden" name="bn" value="IC_Sample">


Thanks, lee

Similar Threads
Thread Thread Starter Forum Replies Last Post
passing values from a dialog darkhalf Javascript 2 August 30th, 2006 02:22 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.