August 30th, 2003, 03:44 PM
getting the values of posted variables
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. =)
August 31st, 2003, 08:16 AM
Find the field names and reference to them thus,
Repeat as neccassery, then you can just use #myfield# to get the value. You could then use <cfmail> to e-mail the results.
August 31st, 2003, 01:42 PM
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?
September 2nd, 2003, 02:27 PM
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:
September 6th, 2003, 04:34 PM