简体   繁体   English

带Xamarin和c#的PayPal Here SDK

[英]PayPal Here SDK w/ Xamarin and c#

I work for a company that has c150 retail stores here in the UK. 我为一家在英国拥有c150家零售店的公司工作。 We are trying to implement PayPal Here in our stores, so we have a PayPal Here card reader on trial. 我们正在尝试在我们的商店中实现PayPal Here,因此我们正在试用PayPal Here读卡器。

We write our own software in C# so it is thought the best way forward would be a Xamarin app to live on an Android tablet. 我们使用C#编写我们自己的软件,因此人们认为最好的解决方法是在Android平板电脑上使用Xamarin应用。 The solution is being developed in Visual Studio 2017. 该解决方案正在Visual Studio 2017中开发。

After browsing PayPal.com and following this link https://github.com/paypal/paypal-here-sdk-android-distribution/tree/master/sdk . 浏览PayPal.com并点击此链接后, https://github.com/paypal/paypal-here-sdk-android-distribution/tree/master/sdk We downloaded the AAR files and placed them in to a Android Bindings Library project. 我们下载了AAR文件,并将其放入Android绑定库项目中。

The AAR is located in the "Jars" directory and the Build Action is set to "LibraryProjectZip". AAR位于“ Jars”目录中,并且“构建操作”设置为“ LibraryProjectZip”。

There is only 1 of the AAR files used at any time, but all 4 will not build. 任何时候仅使用1个AAR文件,但不会构建所有4个文件。

They all produce some 60 errors which include types like :- 它们都会产生大约60个错误,其中包括:-

"...Already contains a definition for..." "...does not implement inherited abstract member..." "Inconsistent accessibility..." “”已经包含了...的定义“”“ ...未实现继承的抽象成员...”“访问性不一致...”

It doesn't seem to make a difference which Android version is targeted and versions of the AAR going back to 1.6.5 have been tried with the same results. 以哪个Android版本为目标,并尝试使用AAR版本回到1.6.5似乎没有什么不同,但结果相同。

Has anyone come across this or even managed to get a working Xamarin product? 是否有人遇到过这个问题,甚至设法获得了有效的Xamarin产品?

https://www.paypal-business.com/SDKdeveloperinterestregistration-在此处完成您的详细信息,然后将指定一个PayPal销售工程师来帮助您解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM