The IAP server-side module in php - module

My hired service does not allow JAVA application to run at the service provider. Therefore, IAP server module must be implemented in php.
I wrote php code. I think I can implement it. But if someone has already done it, I would save some development time.
Please inform me is there public IAP server-side module PHP implementation?

IAP servers have a huge range of complexity depending on the needs of your business. The simplest implementation would be just a receipt validator, and there are a handful open-source examples of this on Github (https://github.com/aporat/store-receipt-validator)
Since you mentioned saving development time, there are services such as RevenueCat that manage a complete IAP server for you.

Related

.NET-Core Web API routing to diffrent process

My goal is to implement a generically extendible .NET core web API. The generic refers to modules that can be added at runtime and provide new endpoints as well as functionality. These modules will be developed based on a framework.
Currently I am still deciding if the modules will be included as a DLL or run as a separate process (.exe).
I have the basic understanding of Dependenci Injection regarding the addressing of controllers in a DLL. But now I wonder if and how to realize the whole thing via an own process.
The API should always be addressable via http://localhost/myapi/{endpoint}, i.e. a request to a module should be done via the same URL. For the user / developer of the frontend everything should be presented as one API.
Unfortunately I was not successful on my research and don't know exactly what I have to / should look for specifically. Therefore I hope that you can help me.
Examples are helpful, but I am also keywords or articles, which deal with such a topic, help me further.
kind regards

Server Architecture .net/cocoa app

I'm planing on creating an native .net app for Windows as well as a native OSX application with swift.
These two applications should be able to communicate with the same server. With that I mean writing and reading from the same SQL Database, and have REST communication with the server.
Now I'm struggling to come up with a solution for the backend. I'm looking into Serverless backends like Azure or Google Cloud, but I'm not sure that I can use these Services with both my applications. Both Azure and Google Cloud have SDKs for .Net but I've never found one for Swift or Objective-C.
Are there such Services that allow me to communicate or should I just develop my own?
Do you have any good solutions for my problem? Or what is the best server architecture to use for this kind of problem? Any inputs are appreciated!
If your servers vend a REST API, no vendor SDKs should be required. REST is platform- and vendor-agnostic. All you need is an HTTP client, which Swift/ObjC most definitely do have. I use a serverless (AWS Lambda) setup from Swift, and it's easy. Though, I have done this kind of thing before :)
What I would do is setup a simple test server, and expose an API endpoint. Make sure you can reach it with curl from your machine. Then, take a look at the NSURLSession APIs in Foundation. They'll help you make an HTTP request similar to what curl can do. From there, you'll need to investigate serialization (like JSON), which Swift can also do easily (as of Swift 4, I believe).
Good luck!

how to consume meteor API call

I need to write a Java web application to call a function Meteor APP. One way is through API call. Are there any other means to call Meteor function from 3rd party application.
Thanks
Murali
It all depends on what your requirements are, how your Meteor app is structured, and what sort of integration you desire.
If you are wanting your Java web application to be able to natively call Meteor methods or subscribe to publications, then you will have to use a Java DDP Client to do this. Fortunately, there is at least one documented Java DDP client that you can use for this (and probably many others out there is you search). For your reference, here is a compiled list of DDP clients for other languages/technologies.
If on the other hand you don't want to interface with you meteor app using DDP, then you could always implement a REST API in your meteor app. There are several packages available to do this, but I would highly recommend the simple:rest package.
This package automatically creates a REST API for all your existing publications and methods without any extra code (just simply add the package to your meteor app). If you do need to configure or modify the REST API, the package also provides several options that you can use in your publication or meteor method definition. The package also enforces all your app's security rules and authorization.
For example, if your app had a publication called openTasks, then the corresponding REST endpoint would be.
GET /publications/openTasks
There are quite a few packages at https://atmospherejs.com/?q=rest that can expose your Meteor methods as RESTful API points which your Java app can consume.

What is API-facing code?

so I'm wondering what does API-facing code mean? I have been googling it, but I can only see sentences with it, but not explanation for it...
Context: "The code supporting this article has been provided as a single Android app for illustrative purposes. In practice you should not distribute your server-side API keys in an Android app as your key cannot be secured against unauthorised access from a third party. Instead, to secure your keys you should deploy the API-facing code as a server-side proxy and have your Android app send requests via the proxy, ensuring requests are authorized."
Can you explain to me what API-facing code means? Thank you and I'm looking forward to your reply!
In this context, "API-facing code" is the code that interacts with the API. They are suggesting the creation of a server component (proxy) that sits between Android and the API, so that the key does not need to be distributed with the Android app. (Instead the "in-between" piece on the server holds the key.)

Integrating First Data (previously YourPay and LinkPoint) payment gateway with custom ASP booking system

I’m trying to integrate a simple booking system (developed in ASP) with this payment gateway: https://www.firstdata.com/
My site is hosted on a shared server and I was hoping to pass the transaction details to firstdata and have all the secure data entered and processed on their system (as in a Form Purchase token type model).
However, I'm having trouble ascertaining whether that's possible on Firstdata, the documentation is complicated and I'm not getting much response from their technical support. Ideally I'd like a test store integration example, but I can't find this on their site.
Does anyone have any experience of integrating this payment gateway using ASP, and if so any help they can offer?
Many thanks,
Lucy
FirstData is the worst for support and integration.
I have experience w/ integrating them w/ perl, so that probably doesn't help much, sorry. But just letting you know its basically trial and error, there tech support is of no help.
I have done the LinkPoint and YourPay gateways. Both required a COM object, so a DLL must be installed on the server. Is your host willing to install that DLL and incur a possible reboot for your site, or do they already have it installed?
If they have it installed, there will be sample .asp integration examples from FirstData, but you have to sign up for a developer account. Once you get their example and if you have any further questions on how to do it, please update your question here and we will work through it.