I'm having an "I've never done this before" issue:
I'm using 2CheckOut to do credit card verification for me. When the transaction is complete, I'm having them redirected back to my page. They say they pass back the customer's variables that I can pull at that point. The problem is, I have no clue how to grab these variables and basically auto-fill my form.
I haven't the slightest clue what I'm doing, and I've tried several different ways to pull the session variables, none seem to work
___________
Is there a way to pull the URL their sending me so I can tell if they're sending me a POST (query string)?
They make it look like I have to have them pass the query back to a routine... "myroutine.pl"... I think I'm missing a step here. I'm trying to pull the ENV variable right into a PHP page with an existing form. Basically using soemthing like:
"<input type="text" name="name" id="name" value="<?php $_ENV['card_holder_name']; ?>" size="40" maxlength="100">"
But this doesn't work. Does there need to be code at the top of the PHP page that pulls the variables into the page?
___________
I combined a couple posts into one to post on the PHP forum, I was in the Perl forum and that was the wrong place for me...
I'm trying to use PHP to pull session variables and I have no clue what I'm doing.
I'm using 2CheckOut to do credit card verification for me. When the transaction is complete, I'm having them redirected back to my page. They say they pass back the customer's variables that I can pull at that point. The problem is, I have no clue how to grab these variables and basically auto-fill my form.
I haven't the slightest clue what I'm doing, and I've tried several different ways to pull the session variables, none seem to work
___________
Is there a way to pull the URL their sending me so I can tell if they're sending me a POST (query string)?
They make it look like I have to have them pass the query back to a routine... "myroutine.pl"... I think I'm missing a step here. I'm trying to pull the ENV variable right into a PHP page with an existing form. Basically using soemthing like:
"<input type="text" name="name" id="name" value="<?php $_ENV['card_holder_name']; ?>" size="40" maxlength="100">"
But this doesn't work. Does there need to be code at the top of the PHP page that pulls the variables into the page?
___________
I combined a couple posts into one to post on the PHP forum, I was in the Perl forum and that was the wrong place for me...
I'm trying to use PHP to pull session variables and I have no clue what I'm doing.