【发布时间】:2014-07-14 13:51:46
【问题描述】:
我想在付款结帐批准后获取paypal付款ID来执行付款但我不知道该怎么做?
该付款ID将在此处使用:
pymnt = new Payment();
pymnt.id = **PAYMENT_ID**;
PaymentExecution pymntExecution = new PaymentExecution();
pymntExecution.payer_id = context.Request.Params["PayerID"];
Payment executedPayment = pymnt.Execute(apiContext, pymntExecution);
context.Response.Write(JObject.Parse(executedPayment.ConvertToJson()).ToString(Formatting.Indented));
【问题讨论】: