I agree with Troy.
I've found that they either POST a form or send an URL. Either way, you get name/value
pairs. You can test for a particular value. ('approved=yes' --> IF approved = "yes",
do this, ELSE, do that, ENDIF).
You can get all the name/value pairs with <@ARG>. Just make sure you know what the
names are (case is important!), & hopefully they pass back the "key" for that
person/order.
INSERT INTO orders (approved, name, address, ...) VALUES ('<@ARG ApprovalCode>','<@ARG
NAME>','<@ARG ADDR1>','<@ARG ...>)
I usually test for the "approved" before I update the database.
Beverly
Hello, Troy Sosamon! On 12/09/2002 11:32 AM -0700, you wrote in whole or part:
>Just have them post a form back to your site with the information you need
>or pass it back as a parameter in the URL.
>
>
>===== Original Message from [EMAIL PROTECTED] at 12/09/02 11:06 am
>>Does anyone have any suggestions what approach to take to be able to read a response
>string
>from a credit card gateway to determine if a transaction has failed or was
>successful.
>>
>>They can send back a fixed string to a predefined URL. I would need to be able read
>and store
>pieces of that string in my DB and provide the user with the appropriate
>response.
>>
>>Any suggestions would be greatly appreciated.
>>
>>Thank you,
>>
>>Steve Vellella
>>
>>________________________________________________________________________
>>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>> with unsubscribe witango-talk in the message body
>
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body