Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using refund API of Paypal. It is going well but it does not call my INP and neither it gets return to my site.
My code is as follows:

C#
"<form id='paymentForm' action='https://api-3t.sandbox.paypal.com/nvp' method='post'>" +
           "<input type='hidden' name='USER' value='XXXX'>" +
           "<input type='hidden' name='PWD' value='XXXX'>" +
           "<input type='hidden' name='SIGNATURE' value='XXXX'>" +
           "<input type='hidden' name='notify_url' value='http://59.90.163.122:4321/CommonMenus/IPN.aspx'>"+
           "<input type='hidden' name='RETURN' value='http://59.90.163.122:4321/CommonMenus/ThankYou.aspx'>" +
           "<input type='hidden' name='TRANSACTIONID' value='XXXX'>" +
           "<input type='hidden' name='METHOD' value='RefundTransaction'>" +
           "<input type='hidden' name='VERSION' value='94'>" +
           "<input type='hidden' name='REFUNDTYPE' value='Partial'>" +
           "<input type='hidden' name='AMT' value='25'>" +
           "<input type='hidden' name='CURRENCYCODE' value='USD'>" +
    "</form>";


I have specified both notify_url and return. But it neither notify nor return. Same urls are working for Payment API but not understanding issue with refund
Posted
Updated 30-Jun-15 20:49pm
v2
Comments
Richard MacCutchan 1-Jul-15 3:53am    
Check the documentation or forum on the PayPal developer site.
Ami_Modi 1-Jul-15 4:50am    
I have been searching for it since so long. Didn't get answer and so posted here. I got how to specify notify url. Its "NOTIFYURL"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900