Forum Moderators: phranque

Message Too Old, No Replies

POST or GET

Which is Better for Credit Card Processing

         

JoeHouse

12:39 am on Nov 11, 2003 (gmt 0)

10+ Year Member



Looking for an experts answer on this one.

I have been having problems with response with my ecommerce site using GET.

I am wondering if I change to POST is this a better format for credit card responses?

I have actually lost information using GET. Will POST help if I change?

Please Advise.

Thanks.

choster

12:56 am on Nov 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



POST!

Think of POST as sending a command and GET as receiving a query. Originally, GET was a method for retrieving data (e.g. search results) whereas POST is for actions and changes to the data (e.g. edit a database entry).

But more importantly, browsers retrieve GET results by appending the form inputs to the URL. If the form submission fails, the browser will warn a re-POSTer that the data will be resubmitted (potentially charging the card a second time), whereas GET simply reloads the url. On this same note, GET requests can be cached and bookmarked. And if you are GETting with a credit card number, you are passing it as text (checkout.cgi?lname=Smith&fname=Joe&cc=9011002693240032&exp=200505...).

Use POST.

JoeHouse

1:06 am on Nov 11, 2003 (gmt 0)

10+ Year Member



Thanks for your reply.

Will POST also prevent me from losing information because it can handle larger info than GET can?

The whole reason I want to change is because GET does not seem reliable. I keep losing valuable info using this format.

What are your thoughts?