我正在尝试<br />在贝宝中添加一个 html 标签SetExpressCheckoutRequestDetailsType.OrderDescription
我正在使用 C# 和自定义购物车,这是我的代码
SetExpressCheckoutRequestDetailsType test = new SetExpressCheckoutRequestDetailsType();
test.OrderDescription = ShoppingCart().Replace("each", "<br />");
我已将所有购物车项目信息放在 orderDescription 中,并希望在每个项目之间添加一个换行符。
我也试过\r\nand System.Environment.NewLine,它们都不起作用。