Welcome Guest, Not a member yet? Register   Sign In
help me out on paypal
#1

[eluser]nandish[/eluser]
Hi guys am trying to integrate paypal..but for some reason currently am working in asp project (integrating paypal in asp projects)

I created a sample asp form page

the content of the page is

payment.asp
[removed]
function checkout() {
document.getElementById("item_name").value = document.getElementById("package").options[document.getElementById("package").selectedIndex].value;
}
[removed]
</HEAD>
<BODY >
Select Package:<select name="package" id="package" >
<option value="Mypackage">Mypackage</option>
</select>
&lt;form action="https://www.paypal.com/cgi-bin/webscr" method="post"&gt;
&lt;input type="hidden" name="package_id" value=""&gt;
&lt;input type="hidden" name="notify_url" value="http://vip.labuno.com/candidates/response.asp"&gt;
&lt;input type="hidden" name="frequency" value=""&gt;
&lt;input type="hidden" name="cmd" value="_xclick"&gt;
&lt;input type="hidden" name="business" value="[email protected]"&gt;
&lt;input type="hidden" name="currency_code" value="USD"&gt;
&lt;input type="hidden" name="item_name" id="item_name"&gt;
&lt;input type="hidden" name="amount" id="amount"&gt;
&lt;input type="hidden" name="no_shipping" value="1"&gt;
&lt;input type="hidden" name="return" value="http://vip.labuno.com/candidates/response.asp"&gt;
&lt;input type="hidden" name="cancel_return" value="http://vip.labuno.com/candidates/payment.asp"&gt;
&lt;input type="hidden" name="no_note" value="1"&gt; &lt;input type="hidden" name="lc" value="IN"&gt; &lt;input type="hidden" name="bn" value="PP-BuyNowBF"&gt;
&lt;input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Thank you for your donation!!!"&gt;
&lt;/form&gt;
<div>
&lt;/BODY&gt;
&lt;/HTML&gt;
After submiting the form it goes to paypal website so here i con''t able to test (cause money problem) can any one explain complete flow with the example
Thanks in advance!
#2

[eluser]johnwbaxter[/eluser]
Wrong place to ask this nandish, have you thought of trying the sitepoint.com forums?




Theme © iAndrew 2016 - Forum software by © MyBB