Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 552
  • Last Modified:

Pay Pal custom Button. ASP.NET C#

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 ASP.net C#
1 Solution
Andrew AngellCo-Owner / DeveloperCommented:
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.
bmanmike39Author Commented:

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now