• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

POST back to application

Guest
Aug 22, 2006 Aug 22, 2006

Copy link to clipboard

Copied

I need to post a response back to an application, I was given ASP code, but not sure how I use CF to accomplish this. Any help would be great.
Thanks! TIm
Transaction Status Post Page:
Dim OrderID
Dim ReturnCode
Dim ReturnCodeMessage
Dim AuthResponseCode
Dim AuthResponseMessage
Dim ApprovalCode
Dim ZipMatch
Dim CVVResult
Dim AmountApproved
Dim CardType

Dim OrderID = Request.Form("OrderID")
Dim ReturnCode = Request.Form("ReturnCode")
Dim ReturnCodeMessage = Request.Form("ReturnCodeMessage")
Dim AuthResponseCode = Request.Form("AuthorizationResponseCode")
Dim AuthResponseMessage = Request.Form("AuthorizationResponseMessage")
Dim ApprovalCode = Request.Form("ApprovalCode")
Dim ZipMatch = Request.Form("ZipMatch")
Dim CVVResult = Request.Form("CVVResult")
Dim AmountApproved = Request.Form("AmountApproved")
Dim CardType = Request.Form("CardType")

If (ReturnCode = "0") then
If (AuthResponseCode = "A") then
Transaction was successful
Else
Transaction was declined
Check AuthResponseCode
End if
Else
Check ReturnCodeMessage
End If

‘Sending the response back to PCI.
Response.Clear
Response.Write(“Y”)
Response.Flush()
TOPICS
Advanced techniques

Views

228

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Aug 24, 2006 Aug 24, 2006
Y
<cfsilent>
<--- All my code updating my DB and other housekeeping. -->
</cfsilent>

Votes

Translate

Translate
LEGEND ,
Aug 22, 2006 Aug 22, 2006

Copy link to clipboard

Copied

What do you mean by, "post a response back to an application"?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

basically, i have a company doing my credit card processing and when th usr goes to their application adn fills in all the credit card info and submits it, they process the card and send the response to my page where I'm suppose to put the ASP code (above). On that page, I'm suppose to POST a response back to them saying that I recieved the info. Does that make sense?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 24, 2006 Aug 24, 2006

Copy link to clipboard

Copied

LATEST
Y
<cfsilent>
<--- All my code updating my DB and other housekeeping. -->
</cfsilent>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation