Working with PayPal HERE and PayPal API

时间:2016-08-31 18:42:44

标签: c# rest paypal transactions paypal-ipn

I am trying to use the PayPal Here Sideloader (C# web application). I am getting unexpected results where the Application doesn't always return to my web application in Safari (iPad). Also, it opens a new tab every time. So I decided to use IPN to handle processing after the purchase.

But while using PayPal HERE, I noticed that check and cash transactions are not calling my IPN Url. I tried to search transactions using the REST API and I don't even see them. Credit card and Apple pay transactions work fine. So my question is two fold.

  1. After speaking to someone at PayPal who might or might not know what they are talking about said something to the effect of, 'those transactions aren't supported'. I don't necessarily believe that because if I have the Invoice Id (INV2-XXXX-XXXX-XXXX-XXXX) I can use the REST API to get what I need. Was the person correct, or has anyone else done this before?

  2. What if I have my custom Order Id (see image), how can I get the Invoice Id? (I've looked at the Invoicing API (REST) and TransactionSearch (NVP) and neither of these return information about the transaction. paypal receipt page on my account

1 个答案:

答案 0 :(得分:0)

在感觉我搜索了整个互联网之后,我看到iOS和Andriod SDK的文档提到了PayPal Here API的URL。

该网址(用于制作)为https://www.paypal.com/webapps/hereapi/merchant/v1

我恰好添加了' /发票/'它,并得到一个身份验证错误。一旦我能够进行身份验证,我就会看到这会返回所有发票的列表'在PayPal中处理。您需要使用OAuth2进行连接,但该列表是我需要根据订单ID进行过滤的。