【发布时间】:2012-10-01 16:17:15
【问题描述】:
PayPalExpress version 95.0ASP.Net & C#
CurrencyCodeType currency = (CurrencyCodeType)
Enum.Parse(typeof(CurrencyCodeType), currencyCode.SelectedValue);
PaymentDetailsType paymentDetails = new PaymentDetailsType();
paymentDetails.ShippingTotal = new BasicAmountType(currency, shippingTotal.Value);
paymentDetails.ItemTotal = new BasicAmountType(currency, itemTotal.ToString());
paymentDetails.OrderTotal = new BasicAmountType(currency, orderTotal.ToString());
我只看到ShippingDiscount。我想知道如何在ItemTotal/SubTotal 上应用折扣(不是针对单个项目)。
我在 SO 中找到了Paypal Express Checkout: Apply order discount,但答案是关于单个商品的折扣。
感谢您的帮助!
【问题讨论】: