authorize.net mac API - macos

I have built a kiosk environment in MAC OSX 10.6.6 and i wanto charge a PC user before he starts using the system. i have the application made. I wanto use authorize.net for authenticating. With what i have searched, CIM SOAP is the method i should use.
My question is is there any webservice available on authorize.net where i can send a xml file and expect a response .? If not, what other options do i have??
thanks in advance. If any sample code or reference is there, let me know( FOR MAC)

Authorize.Net's API is platform agnostic so it doesn't matter what environment you use it in. It can be a Mac, PC, POS system, or website, etc.
Their AIM API has an XML interface for processing transactions. You can get a developer's account to test your integration with. They also offer sample code to get you started.

Related

update client code in electron

So I have multiple clients using an app built in electron. The entire application is actually a number of electron windows that talk to each other. When I have an update for the client side code (html/js/css) I have to have them shutdown, and run a utility that downloads from our internal server to update their app. I would like to know if there is a way I can either push new code to the clients (maybe through a socket) to overwrite the old code, or even maybe poll our 'code server' for updates, and then have it automatically update/overwrite existing code.
Is this possible? Is there functionality built in to electron that allows this?
And, if possible, how can it be accomplished? i.e. is there a library I can look at that will help me?? (i found a filesaver.js library, but its not exactly what I need). Thanks in advance.
You can have your Electron app load all code from a server every startup and cache this locally. You can do this by simply hosting your electron code on a web server and pointing Electron at the URL. You could make the app work offline by using a Service Worker.
This isn't a great idea though as code loaded from the internet will have access to all the node APIs. You will have essentially made a DIY botnet and securing it from abuse can be tricky.
You should read Security, Native Capabilities, and Your Responsibility in the Electron docs and be sure you understand the implications.
You can use the built-in autoUpdater of Electron: https://electronjs.org/docs/api/auto-updater
You need a server the autoUpdater can talk to, to download the updates from. The updates are installed after download.
You can host a server by yourself or use a service like https://www.update.rocks/
What you need is electron updater and you can use electron-builder for that.

Detect if request is from a mobile device in asp.net Core API

I'm trying to prevent spam and I want to know:
how can I detect if the request to the API is coming from a mobile device?
Thank you
The only way to check if the request is coming from a mobile device is by checking the user agent sent with each request. The user agent can be found in HttpContext.Request.Headers['User-Agent'].
Then compare the user agent value with a list of mobile browsers found at e.g.: https://deviceatlas.com/blog/mobile-browser-user-agent-strings
One option is to write your own user agent parser that figures out if it's a mobile browser or not. That is a HUGE job and one you will have to continually keep expanding as new devices are released. It has all its own problems like you said in the other comment - how do you get a list of the new user agents to include...
Another option is to find some free library written in ASP which will do this work for you. I can't see libraries written in asp.net Core API. If you use one, be making sure that it's regularly updated by the developers and that you keep updating your copy of the library too.
Last option would be to use a user agent parsing API. A good one will give you detailed information about the browser, software and the hardware/software types.
I did a comparison of these for my job a few months ago - https://developers.whatismybrowser.com/api/ looked the best to me - it's platform independent (doesn't matter what language you're writing your system in ASP/C#/Ruby), and is freemium and has an active dev team working on it. also because it's an API, you never have to update your code libraries, it always works on the latest detection of what they have written. We still use it today.

Recommended method for communicating with QuickBooks Pro 2012

I am attempting to integrate a web site with Quickbooks Pro 2012 and would like to know what the recommended method is as I'm having a hard time getting information from the Intuit site.
Can I use QBFC13 with Quickbooks 2012 or do I have to use QBFC12?
Since this is a website, I think the correct method is to use Web Connector, although the web server could have direct access to the QuickBooks company file.
I'm been looking for a recent Web Connector sample (one that doesn't use Microsoft.Jet.OLEDB)
1. Can I use QBFC13 with Quickbooks 2012 or do I have to use QBFC12?
To my knowledge, all newer version of the SDK should work fine on older version of Quickbooks. I believe I read somewhere that they make an effort to keep it backwards compatible.
2. Since this is a website, I think the correct method is to use Web Connector, although the web server could have direct access to the QuickBooks company file.
I personally did not go with the webconnector route, because I needed real time comms. The webconnector will periodically "connect" to your website, and ask if it has any work for it to do. I personally created my own WCF Self Hosted service, which the website conencts to when needed. This wcf service, then interfaces with the quickbooks SDK, and passes the required info back to my website, when it wants it.
3. I'm been looking for a recent Web Connector sample (one that doesn't
use Microsoft.Jet.OLEDB)
Cant help you out here, although the QB specific stuff should generally still apply? Can't see why an example using a Jet DB would make the QB part of it unclear?
You can use either. You just need to make sure the QBXML version used is supported by QB.
Yes, you will need to use the web connector since this is going to a web site.

Access to Google Nexus 4 Secure Element (SE)

I’m working on technical part of a project for big bank and looking for information about using Secure Element (SE) that is embedded into Google Nexus 4.
What is a process to get access to SE?
I mean how to initiate a process with Google.
You may try to contact them directly, but Google will not give you access to (embedded) SE: they don't want competitors on their wallet application (specially on Android systems).
You can do this, current android version(4.0.4) has enabled access to SE without having support of platform vendor.
Please refere
http://nelenkov.blogspot.sg/2012/08/accessing-embedded-secure-element-in.html
Depends what your ambition is, can you elaborate ? Loading an application of your own onto the secure element will require crypto keys that only Google can provide, and they probably never will, for many reasons.
Alternatively, you should be able to do the same with a SIM. It only takes a few tools to load and configure an application on a test SIM (with test SIM), then you can fit it into a phone and access it through the Open Mobile API (see the SEEK for Android open source project) which is available on many devices.

Integrate TAPI with M S CRM2011

I have requirement of integrating CRM2011 with TAPI3.0.
I am very new to integrations. Can any one tell me how to proceed? For this we are using Ericossons TAPI Bridge.and Astra's Phone box server.
I have installed BusinessLink for windows server, Client and TAPI Bridge3.0 in my sytem. Then
what code do I need to write and where can I write this code?
My Requirement is when customers calls, CRM server should check the phone number in the contact details and if exist open the perticular contacts record.
Please reply if any one have idea/worked already.
The solution would involve creating a Windows based utility running on the Client's desktop PC.
I would create the following :-
1) You have some mechanism to either poll, or capture an event from the TAPI interface when a phone call arrives which is intercepted by your utility.
2) Based on the data in the TAPI event query MSCRM using OData or WebServices to determine the record you require. Return the GUID of the record.
3) Launch on the Client PC an IE window with querystrings of the GUID (there are examples in the SDK for launching records with querystrings).
The utility will need to run in the system tray (or as a service) on all the PCs. You will need to build an install to deploy the utility to the PCs.
Thanks
Glenn
I have app running in system tray and it sends caller ID via Windows message to chosen app. If you can receive Windows message it will work.

Resources