如何使用c#传递PayPal发送发票提醒值? (PayPal发票API)

时间:2017-12-15 14:26:15

标签: c# .net paypal paypal-sandbox paypal-rest-sdk

我正在通过PayPal发票API整合PayPal发票提醒。

这是我的代码,

沙箱网址

var sandbox = "https://api.sandbox.paypal.com/v1/invoicing/invoices/";

通知对象,

var notification = new Notification
{
  subject = "Payment Reminder",
  note = "This is a reminder that payment is due on " + InvoiceDueDate,
  send_to_merchant = true
};

发票ID和生成的访问令牌,

var invoice_id = "your invoice id";
var access_token = "your generated access token";

PayPal发送提醒Api需要高于发送提醒任务的值,但如何使用上述值获得响应,以及如何将这些值(参数)传递给PayPal的其余API。

谢谢,Kaushik。

发送提醒PayPal示例: enter image description here

0 个答案:

没有答案