0

我正在尝试在 Windows Phone 8.1 应用程序中实现 Braintree

            Result<Customer> result = gateway.Customer.Create(request);

我得到错误

System.IO.FileNotFoundException occurred
      HResult=-2147024894
      Message=Could not load file or assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
      Source=Braintree-2.41.0
      FileName=System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

我在每一个变体中都包含了 system.xml

github 上的完整代码

4

1 回答 1

0

我在布伦特里工作。您最好的选择是与我们的支持团队取得联系

Braintree .Net 库不是在手机上使用,而是在服务器上使用。将其放在手机上将允许用户访问您的 API 密钥、运行交易等。

虽然 Braintree 曾经有一个Windows Phone 库,但它已被弃用。相反,您也许可以使用带有 JavaScript 的 webview。我建议你联系 Braintree。

于 2015-05-18T17:11:44.623 回答