How to do PayPal IPN in asp.net MVC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A 14 year old web forms app utilizes two aspx pages to connect with PayPal to do subscription payments. Lets call these pages (1) PayPalSUbscription.aspx and (2) PayPalIPN.aspx.
Page one gathers some details about the subscription from a web form, generates a link to redirect (https://www.paypal.com/cgi-bin/webscr?cmd=_ext-enter&redirect_cmd=_xclick-subscriptions&business=sel............)
Page two reads the response from PayPal upon successful payment, verifies, postback to PayPal and updates data on web site.
I need to do this in MVC, the PayPal documentation does not give precise details on how to achieve this. The https://github.com/paypal/PayPal-NET-SDK samples don't have anything similar. Several days of searching did not yield any workable examples.
Am I missing something? Has PayPal tech changed so much that what worked 14 years is no longer valid?
The PayPal API https://developer.paypal.com/docs/api/subscriptions/v1/ does not have samples for MVC that I could find.
Is there a simple to follow working sample to handle PayPal subscriptions similar to what was done in the Web Forms app referenced above?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Paypal checkout money not reaching paypal in REST APIs
- Webhook Data Discrepancies Between Live and Sandbox Environments in REST APIs
- Urgent Assistance - PayPal Integration (Monthly Recurring Payment) in PayPal Payments Standard
- Want to upgrade to PayPal Checkout (PPCP) with OpenCart? in PayPal Upgrade Community
- Need help to integrate PayPal Checkout with Squarespace? in PayPal Upgrade Community