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 7840341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:44:58+00:00 2026-06-02T15:44:58+00:00

I am working on a donations page which allows a user to enter a

  • 0

I am working on a donations page which allows a user to enter a donation amount and then pay with PayPal. I have successfully created a sandbox account with PayPal. Once this has been done, I created a business account in order to receive payments and a personal account to make payments.

What I am trying to do is to make use of the Instant Payment Notification feature, which allows the developer to verify that the user actually made the transaction on PayPal’s payment page (so that I can record it in the database).

I tried posting the URL of my IPN page on the business account. The problem is that it is not accepting the URL. This is the URL I am providing:

http://localhost:54866/Default.aspx

The website is not hosted online. How can this be done please? How should I provide the URL? Thanks 🙂

P.S. I am using C# and ASP.NET

  • 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-02T15:45:02+00:00Added an answer on June 2, 2026 at 3:45 pm

    Yup you are right you can’t give localhost (it would try to resolve to paypals own server then…) so you have to do some trickery.

    What you need to do is:

    Lets say your shop is going to be http://www.mynewshop.com

    1) set that up in paypal as the IPN redirect

    2) Change your HOST file to redirect http://www.mynewshop.com to 127.0.0.1 (eg localhost)

    You can test step 2 is working by trying to type eg http://www.mynewshop.com in the browser – If you have a server on port 80 it will resolve to localhost:80 or say you have devweb server running on :1234 type http://www.mynewshop.com:1234 in browser address bar and check resolves

    3) set your port on the project to be :80 (as you cannot specify anything other than :80 in paypal either I think). You can set the project test server port via project.properties – set it to NOT dynamic port and then you can set the fixed :80

    What will happen is Paypal tries to redirect you back to http://www.mynewshop.com which your pc tries to access but behind the scenes you end up at localhost.

    From memory you can also set project properies to start the browser at eg http://www.mynewshop.com which means even in development you appear to be using live URL. This can have its advantages e.g. it will help you spot incorrect URL/deployment differences due to localhost vs live host URL.

    Have fun! 🙂 (and mark this as answer – I know it works because I solved this myself a long time ago)

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

Sidebar

Related Questions

I am working on a donations page where users can enter a donation amount
I am working on a donations web page. I have created a merchant account
I have donation page which when the user clicks donate it posts the data
I am working on a donations website. In my page, I have a textbox
I am working on a donations website and I have set up a PayPal
I am working on a donations website. The particular web page works by allowing
Hellp, I am working on developing an online donation site for my page. I'd
I have a working PayPal button on my website. It's not hosted by PayPal,
I have a buy now (pay now) button but when a user pays, I'll
Working on a page with multiple sections. at the very top there is a

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.