|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Speeding Shipping, Improving Compliance – Read the ScanCode Systems Case Study |
|
#1
|
|||
|
|||
|
Hi guys,
I'm using a payment gateway for my site. I provided a return url on the form that submits to the payment gateway. After payment is made, the user is redirected to the url I set on the return url field. I need to know the post'd variables if there are any. The payment gateway I'm using doesn't have documentation on what variables they return back to your webpage. That's the reason for my asking. =D I would appreciate some help on this. =) Benedict |
|
#2
|
|||
|
|||
|
Find the field names and reference to them thus,
<cfset myfield="#FormName.FieldName#"> Repeat as neccassery, then you can just use #myfield# to get the value. You could then use <cfmail> to e-mail the results. |
|
#3
|
|||
|
|||
|
Uh... I don't know the names of the variables that are returned to my file.
Is there a way of knowing the names of the variables that are posted to my files? |
|
#4
|
|||
|
|||
|
If you turn on debugging, you can see any form or url variables that are coming into the page. If you don't have debugging on, you can always use cfdump to see what are in those scopes:
<cfdump var="#form#"> <cfdump var="#url#"> |
|
#5
|
|||
|
|||
|
Thanks!! =D
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > getting the values of posted variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|