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
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- IPN works in sandbox but not live in Sandbox Environment
- link my PayPal business account with my WordPress website , but it's not work ?! in PayPal Payments Standard
- Problems with accent characters when calling Paypal API (v2/invoicing/invoices). in REST APIs
- System error for my Paypal button after years of correct working in PayPal Payments Standard