Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8934745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:51:22+00:00 2026-06-15T09:51:22+00:00

I have an asp.net MVC4 action that has a subscribe paypal button: <form action=https://www.sandbox.paypal.com/cgi-bin/webscr

  • 0

I have an asp.net MVC4 action that has a subscribe paypal button:

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" id="payPalForm">
                <input type="hidden" name="item_number" value="@item.Id">
                <input type="hidden" name="item_name" value="@item.Name">
                <input type="hidden" name="src" value="1">@*Recurring until user cancels*@
                <input type="hidden" name="cmd" value="_xclick">
                <input type="hidden" name="p3" value="1"> @*Billing cycle amount*@
                <input type="hidden" name="t3" value="M"> @*billing cycle period - Month*@
                <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="business" value="dude@dude.com">@*Hiva's paypal account*@
                <input type="hidden" name="currency_code" value="USD">
                <input type="hidden" name="return" value="@returnUrl">
                <input type="hidden" name="amount" id="amount" value="@item.Price">
                <input type="submit" name="Submit" value="Subscribe">
            </form>

In the return URL it hits an action where I want to be able to see the form details and whether the payment went through, and all that good stuff. This is what I have:

        public ActionResult PaymentConfirm(FormCollection form)
    {
        //if successful, blah blah
        var user = User.Identity.Name;
        //Merchant merch = ctx.Merchants.Single(x => x.User.UserName == user);
        //merch.Plan = plan;

        return RedirectToAction("Index", "Merchant");
    }

How can I get this data!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:51:23+00:00Added an answer on June 15, 2026 at 9:51 am

    As the comment mentioned, the solution is the IPN. Basically, IPN is an url you setup on your merchant account, under selling tools.

    1. you would want to create the url that points to your actions. (To do it locally, you would need to do port forwarding to made you site public available)

    2. The IPN contains all the information you need. It gets call whenever a payment is been made and it also comes with payment status whether is successful or failed.

    Here is a link to there code samples that you can reference to.

    https://www.x.com/developers/PayPal/documentation-tools/code-sample/216623

    Update: for details how IPN works behind the scene, reference to the following link

    https://www.paypal.com/cgi-bin/webscr?cmd=p/acc/ipn-info-outside

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a domain http://www.abc.com. I have deployed an ASP.net MVC4 app on this
I have a fileresult method in asp.net mvc4 that returns a report in an
I have an asp.net MVC4 application that I am using Unity as my IoC.
I have an ASP.NET MVC4 site with mobile content. When I deploy this on
I have an ASP.NET MVC4 app which uses DotNetOpenAuth 4.0.1 to authenticate users with
I have a simple asp.net MVC4 / EF 4.1 project created with VS 2011,
I have been writing an application using ASP.Net MVC4, where the majority of the
I have a layered web application that I built with ASP.NET MVC 4, WebAPI
Using ASP.NET MVC4 I have created a DelegatingHandler in a WebAPI project. I use
I am using EF5 codefirst in an ASP.NET MVC4 app. I have products and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.