Click here to Skip to main content
15,906,467 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my apply_paypal.aspx page i have passed a variables to sandbox page.its get that variables from apply_paypal.aspx page.But i dont know how to get a return variable from sandbox...how can i do that....if variables returned to my success.aspx page how can i get that in my code behind...?
plz anyone help me to do that..?

HTML
<form id="form1" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
input type="hidden" name="cmd" value="_xclick" />
        <input type="hidden" name="business" value="ineedsweb-facilitator@gmail.com"/>
        <input type="hidden" name="currency_code" value="USD" />

        <input type="hidden" name="payer_email" value="<%=Request.QueryString["mid"]%>" />
        <input type="hidden" name="item_name" value="<%=Request.QueryString["url"]%>" />
        <input type="hidden" name="amount" value="<%=Request.QueryString["amt"]%>" />
        <input type="hidden" name="rm" value="2" />

        <input type="hidden" name="notify_url" value="http://xxxxxxxxxxxxxx/Submit.aspx" />
        <input type="hidden" name="return" value="http://xxxxxxxxxxxxxx/Paypal_Success.aspx" />
        <input type="hidden" name="cancel_return" value="http://xxxxxxxxxxxxxx/Paypal_Unsuccess.aspx" />
        </form>

I can easily paid to seller...when transaction completed then the page redirected to my success page...But how can i get payment status,transaction id and some other information from paypal.....??
Posted
Updated 25-Sep-13 5:27am
v5

Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.

Only get such code from Paypal - the scope for fraud otherwise is far too large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!

So talk to Paypal, not us...:laugh:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900