Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on 

Could you point a strategy to integrate VFP apps to submit credit card (and other electronic payments) transactions?

Hi Experts

Could you point a strategy to integrate VFP apps to submit credit card (and other electronic payments) transactions?

Thanks in advance.
FoxProE-Commerce

Avatar of undefined
Last Comment
Eduardo Fuerte
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Eduardo Fuerte

ASKER

Hi Pavel

Based on your reply it seens that the better way is trying to use web code that at a first sight is very
commonly found (PHP would be my choice) to do the heavy job as a web service.

Maybe the credit card, values and other informations could be consumed indirectly from the VFP app - it
saves this data at a local folder or send this information to a WEB endpoint, in a manner it could be
securelly used by the CC operator... just elucubrations.

A purelly web job is easylly to start.. but on my case the process must to start at VFP app.
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Hi Eduardo,
VFP may invoke the web page start and display some initial values necessary for the payment. The rest - the CC number and other client's data - is better to keep outside of your application and computer. It is always safer when CC data are collected and processed by trusted 3rd party company. Of course, this way also means reduced profit because the 3rd party does not do it for a free...

Avatar of Eduardo Fuerte

ASKER

I agree it's to much safer.
Do you know a way to call a web page to be shown from a VFP app?
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

You may either include the IE OLE control onto VFP form (I just don't know how long this will be supported). One way is described here: http://yousfi.over-blog.com/2015/01/who-said-that-vfp-ie-browser-died.html 
Or you may simply try to create a form, and select Microsoft Web browser as an OLE control.

Another way is to invoke the standalone browser instance via ShellExecute:
DECLARE INTEGER ShellExecute IN shell32.dll ; 
 INTEGER hndWin, ; 
 STRING cAction, ; 
 STRING cFileName, ; 
 STRING cParams, ; 
 STRING cDir, ; 
 INTEGER nShowWin

ShellExecute(0,"open",'http://www.YourPage.com/index.html',"","",1)

Open in new window

Above command line invokes the default browser to which you may send whatever parameters you need in URL.

Avatar of Eduardo Fuerte

ASKER

Pavel

Thank you very much for the guidance!
FoxPro
FoxPro

Visual FoxPro (VFP), and its predecessor FoxPro, is a data-centric, object-oriented, procedural, database programming language and IDE from Microsoft last released in 2007 that still has some active use due to its low cost of deployment and fairly rapid development. In 2008, Microsoft released a set of add-ons for VFP's xBase components to allow interoperability with various Microsoft technologies. It allows data processing against its native file-based data tables or database servers such as SQL Server.

11K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo