🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages Started by nikhil Mon, 17 Jan 2005 07:19
Online Monetary Transactions
#1469
Author: nikhil
Date: Mon, 17 Jan 2005 07:19
2 lines
1047 bytes
How do I implement CreditCard verification and handle online monetary transations using Borland CPP.
Re: Online Monetary Transactions
#1471
Author: Keith
Date: Wed, 19 Jan 2005 15:52
19 lines
1915 bytes

nikhil wrote:

> How do I implement CreditCard verification and handle online monetary transations using Borland CPP.

A good approach is to use Indy 9.  You will find the TIdHTTP component, which has get and post methods.
The specific implementation you use depends on which credit card processor you use (gateway service).
The processor you select will provide you an implementation document specifying the format of the
request that you send to their (typically secured) server.  In the request, you provide merchant
account, purchase info, etc.  Then you use the post or get method to transmit the request.  The gateway
provider then sends back a result string which you parse to determine the transaction result.  Some
gateway providers will produce their own payment screen.  You should use the direct response method, if
possible, rather than redirecting to their page.

Generally, the request is simply a text string of parameter=value pairs, separated by the ampersand
character.

keith
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads