Solved

Problem in executing IPN script of paypal

Posted on 2009-07-14
4
399 Views
Last Modified: 2012-05-07
i am using PPFrame.html as the paypal page
<form method="post" action= "https://www.sandbox.paypal.com/cgi-bin/webscr" target="_top">
                <input type="hidden" name="cmd" value="_xclick" />
                <input type="hidden" name="business" value="pay@mysite.com" />
                <input type="hidden" name="item_name" value="itemname" />
                <input type="hidden" name="item_number" value="1" />
                <input type="hidden" name="amount" value="0.10" />
                <input type="hidden" name="no_shipping" value="1" />
                <input type="hidden" name="custom" value="3" />                
                <input type="hidden" name="return" value="http://www.mysite.com/Success.aspx" />
                <input type="submit" value="Buy This"  align="middle" />
            </form>

my IPNProcess.aspx holds the DataBase manipulation code like altering a feild date_of_payment in 'list' table.
protected void Page_Load(object sender, EventArgs e)
    {
          string id = Request.Form["custom"];
         // here i am using the SQL to alter my table
       
        PaymentStatus = HttpContext.Current.Request.Form["payment_status"];
        PaymentType = HttpContext.Current.Request.Form["payment_type"];
        PendingReason = HttpContext.Current.Request.Form["pending_reason"];
        TXN_ID = HttpContext.Current.Request.Form["txn_id"];
        TXN_Type = HttpContext.Current.Request.Form["txn_type"];
        PaymentFee = HttpContext.Current.Request.Form["mc_fee"];
        PaymentGross = HttpContext.Current.Request.Form["mc_gross"];
        NotifyVersion = HttpContext.Current.Request.Form["notify_version"];
        VerifySign = HttpContext.Current.Request.Form["verify_sign"];
//sending mail to buyer
    }

my Success.aspx page contains only a link to back to HomePage.

i dont know whether i am right or wrong?. or do i need to do some settings in my sandbox paypal account?
0
Comment
Question by:Muralidharanp
[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
  • 2
  • 2
4 Comments
 
LVL 9

Expert Comment

by:Rahul Goel ITIL
ID: 24847891
0
 
LVL 5

Author Comment

by:Muralidharanp
ID: 24847970
hi Rahu Ketu patal,
 
       i had already implemented IPN Scripts on my code. i am not asking the code for IPN Script.
 i am asking about where should i give refer my Success.aspx page and IPNProcess.aspx?
0
 
LVL 9

Expert Comment

by:Rahul Goel ITIL
ID: 24848045
You need to refer to the page when the request has been verified maens paid successfully.
0
 
LVL 5

Accepted Solution

by:
Muralidharanp earned 0 total points
ID: 24848469
i got solution from the following thread :
http://paypal.lithium.com/pdn/board/message?message.uid=138254
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create an MVC5, Razor Widget 2 50
ASP.NET MVC - Views 3 61
How to filter by key press ? 6 66
Web page design problem 3 41
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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