Paypal _notify_url not working in asp.net mvc and paypal api
imdhiren
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Apr-23-2018
01:11 AM
Hello,
I used paypal api version 1.9.1 in asp.net mvc.I passed _notify_url parameter in transaction class of paypal.
transactionList.Add(new Transaction() { description = "Buy from Ezywarap", invoice_number = Guid.NewGuid().ToString(), //Generate an Invoice No amount = amount, item_list = new ItemList() { items = itemList.items, shipping_address = shippingInfo }, notify_url = notigyUrl });
when i redirect to paypay sandbox for payment.This _notify_url not redirect back to web site for IPN.
notify_url= "http://www.website.com/Payment/Receive";
I used back for that code:-
[HttpPost] public HttpStatusCodeResult Receive() { //Store the IPN received from PayPal LogRequest(Request); //Fire and forget verification task Task.Run(() => VerifyTask(Request)); //Reply back a 200 code return new HttpStatusCodeResult(HttpStatusCode.OK); }
But not redirect back for IPN.
Help.
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- My developer page is missing after I deleted some APIs in REST APIs
- I'm getting error once user try to pay via PayPal - NVP/SOAP Api Integration in NVP/SOAP APIs
- Adaptive Payments stopped working in early Feb 2024 in NVP/SOAP APIs
- Encrypted subscription button has stopped working in NVP/SOAP APIs
- what permissions to expect in oauth_third_party when tracking seller status in REST APIs