3 / 3
Jun 2009

I've tried a simple script to get all the data POSTed to my page, but ejunkie does not POST anything, it only GETs a few variables.



These are the variables in the URL via GET that appear on the redirection page:



txn_id = jg-klb1v343f6c4bd

item_number = 2693353

payer_email = test@gmail.com

first_name = test

last_name = test

quantity = 1

payment_status = Completed



Why are these here?



Also, where are the POSTed variables? I'm redirecting to the same URL I'm posting to, but the data doesn't appear besides this GET.



I've tried setting my Payment Variable Information URL to http://www.myurl.com/ only, and I've also tried setting it to http://www.e-junkie.com/ecom/oplug.php?&postto=http://www.myurl.com/



... but it does nothing either way?



Am I supposed to use the o_plug method, or can it be posted without that. What's the difference between using the passthru and just simply using the common data that the help file says are already posted?



Lastly, why does it not actually post the data?



Thanks

  • created

    Jun '09
  • last reply

    Jun '09
  • 2

    replies

  • 963

    views

  • 2

    users

  • 4

    links

Take care that you do not confuse our Redirection feature with our Integration feature, as they are separate and unrelated functions which transmit different sets of order data in different ways for different purposes.



Redirection uses the GET method to pass a limited set of order data to a custom thank-you page on your site, so you can have some scripting in your page to grab that data from the page's URL to display to the buyer after checkout; this method is NOT suitable nor reliable for transmitting order data to your server for storage or additional post-checkout processing:

http://www.e-junkie.com/ej/help.redirection.htm



Integration uses the POST method to send all the order data we collect to a URL where your custom script would receive and process the data for whatever custom needs you require; this method is not suitable for displaying any order data to the buyer directly following checkout:

http://www.e-junkie.com/ej/help.integration.htm



For the Integration feature, you can just paste-in your script's URL directly, as-is. You would only need to use the Passthru method if you are already using our o_plug.php URL for one of our pre-integrated services (e.g., if you wanted to submit a buyer email to Aweber AND also post the order data to your own URL).

Thank you, I've figured it out. POST happens completely in the background and has nothing to do with the GET I was seeing.



Also, thanks about the pasthru explanation.