capturing values from system command
John Sica
john at chrismanncomputer.com
Tue Dec 15 08:14:32 PST 2015
Maybe putenv and getenv.
On 12/15/2015 8:56 AM, scooter6--- via Filepro-list wrote:
> I'm writing a process that will send out credit card information to our
> merchant provider and have everything pretty much completed....
>
> After a series of data entry fields obviously, the data is captured and
> then I pass along those variables to a shell script that creates the XML,
> sends it to our carrier and I'm using a python script to parse it and then
> shows the result at the bottom of the screen for the person who executed
> the command.....
> Since there really isn't a 'record' created yet, I can't really use the px
> to bring a value back...
> Is there a way to capture the results of my shell script back to the
> processing that created it?
> I know there may be a 'better' way to do all this but don't really have the
> time to start over
> Everything works great except I can't capture the results from the merchant
> side (i.e. authorization code or declined and decline reason)
>
> thanks
>
> Scott
> PDM
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20151215/b6b8c1f3/attachment.html>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list