Retrieving Variables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nmpku
Forum Newbie
Posts: 11
Joined: Wed Oct 05, 2005 12:42 am

Retrieving Variables

Post by nmpku »

One of my clients uses a software program called 1shoppingcart for credit card processing etc. I need to retrieve some variables from their site, after approval of transaction, and pass them to our db. I talked with their support, and they told me that they pass certain variables to the "thank you page" and he gave me a list. he said that they use a "post" to do this. My problem is that when they go to the thank you page, I need to retrive them and them insert them into my db. Can anyone help...I need this clients page up by thursday (long story...just one of those clients that markets before they have a product).



feyd | edited to fall inline with Rule 2
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

well.. the provider says the information is in $_POST.. so look for your information there. :?
nmpku
Forum Newbie
Posts: 11
Joined: Wed Oct 05, 2005 12:42 am

RE: Retrieving variables

Post by nmpku »

I tried that but no luck!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

most providers encode the data.. they often have their own encoding algorithms that they (normally) tell you about as a developer.

If the information is stored on your side, kick it into the local database as a tentative order (unconfirmed) that you keep for... 6 hours or something..
Post Reply