Page 1 of 1

Payment Processing Script

Posted: Mon Jun 27, 2005 11:08 pm
by sebenza
I need to create a simple php script to post some cc info to a gateway. The gateway then basically returns an Approved or a Declined message. What do you think is the best and safest way to go about this (calling the string). Basically, all the cc details and account login info are sent in one long string. The string also carries a "return url". So an example return would be domain.com/script.php?Login=Fail.

Thanks!

Posted: Tue Jun 28, 2005 12:24 am
by Burrito
every cc auth company I've worked with use post data and I use cURL to send the data. There's no reason you couldn't do the same with url params though.

good thing about cURL is that you can do it with SSH and it's easy to enable/use.

Posted: Tue Jun 28, 2005 12:27 am
by sebenza
Cool... yeah, I just started coding it to use cURL. Thanks.