Pay Pal custom Button. ASP.NET C#

Posted on 2014-07-19
Last Modified: 2016-03-24
I have created a paypal button, that contains a pass threw variable named custom.  My question is, when the user clicks the button, and is sent to paypal check out,  pays, then is sent back to my site. is the custom variable there, or do i have to retrieve it some other way, from paypal?  or do i have to create a cookie to remember the session.  This is all C#
Question by:bmanmike39
    LVL 11

    Accepted Solution

    You would need to setup Payment Data Transfer (PDT) in order for the custom variable to get passed back to your return URL.  

    It is not recommended that do any database updates, email notifications, etc. from your return URL, though, because there is no guarantee the user will make it there.  Instant Payment Notification (IPN) is recommended, which will be triggered no matter what.

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now