New to the community? Welcome! Please read our Community Rules and Guidelines
If you want to report illegal content under the EU Digital Services Act, please do so here
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.