How to setup PayPal "Buy Now" button with ASP.NET (C#)

Learn how to create a "Buy Now" button at PayPal and create an IPN listener ( webpage) to handle the IPN messages
4.7 (7 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
243 students enrolled
25% off
Take This Course
  • Lectures 12
  • Length 1 hour
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 6/2014 English

Course Description

This course is designed for web developers who needs to create a PayPal "Buy Now" button on their webpage. You are expected to have basic ASP.NET (C#) programming knowledge.

This online training video series explains how the Buy Now button works and how to create an IPN listener ( webpage) to receive payment notifications from PayPal and also verify the validity of the payment with PayPal. The source code for the Visual Studio project, ASP.NET (C#), is available for download.

The visual instructions are easy to follow and the mouse clicking was highlighted with circles.

What are the requirements?

  • Basic ASP.NET (C#) programming knowledge

What am I going to get from this course?

  • You will know how to create a sandbox account at PayPal for testing purpose
  • You will know how to configure the IPN preferences at PayPal
  • You will know how to create a BUY NOW button at PayPal
  • You will know how to copy and paste the BUY NOW button code into your webpage
  • You will know how to create an IPN listener ( webpage using C#)
  • You will know how to test your IPN listener and Buy Now button

Who is the target audience?

  • Web develeopers with basic ASP.NET (C#) programming knowledge

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Introduction

Introduction to the course.

Topics include:

How the “Buy Now” button and Instant Payment Notification (IPN) work;
How to create a test PayPal account and set up the IPN preferences;
How to create a “Buy Now” button and add it into your web page;
How to create an IPN listener* to handle IPN messages and verify the payment;
Testing the “Buy Now” button;
Making the “Buy Now” button live on your website.

* (c#)webpage and code examples are available for download


Explain how the Buy Now button and IPN work

Section 2: Setting up a test environment

This video shows you how to create a Sandbox account with PayPal to test your payment process.


This video shows you how to configure the IPN preferences, i.e., to tell PayPal the URL of your IPN listener.

Section 3: Create Buy Now Button and IPN Listener

This video shows you how to create a Buy Now button on PayPal.


This video shows you how to copy and paste the Buy Now button code into your webpage.


This video shows you how to create an IPN listener in Visual Studio 2012.

Testing the IPN Listener
Section 4: Creating the Real Buy Now Button
Making the Real Buy Now Button
Section 5: Further Reading
Introducing IPN Pay Pal Developer
8 pages
IPN Testing
6 pages
IPN History
5 pages

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Lin Zhang, SharePoint Developer, Admin & Trainer

Lin Zhang is a professional SharePoint developer, administrator and Trainer. He provides expert website services, consulting and training services involving SharePoint development, Web Development(ASP.NET/MS SQL), iPhone App Development, Microsoft Office, Adobe Flash, and related technologies.

For more than ten years, He and his partners have trained business professionals on SharePoint administration and development and created video designed to bring SharePoint professionals up-to-speed quickly with these technologies.

Lin has a strong background in business analysis and application development and uses those skills to develop robust and user-friendly SharePoint solutions. Lin holds a master's degree in IT from Monash University in Australia.

Ready to start learning?
Take This Course