Page 1 of 1
How to process a credit card and paypal account in PHP
Posted: Wed Jan 07, 2009 9:29 am
by ummarbhutta
Hi, I am new to PHP, I want to make a website which includes credit card and Paypal account processings.. I have never done work on this part of PHP before.. Please help me out what are the pre-requisites for credit card as well as paypal account processing, and how to do it in PHP.. I really appreciate if some one can send me code snippet in PHP..
Here is the scenario for my website
A visitor will open a sign up page and there will be a drop down menu for card type selection and then a text field for Credit card number... and after that user need to click on signup button.
Please remember I don't need any other prebuilt credit card processing system or shopping cart.. I need to do the processing on my own.
Bye
Re: How to process a credit card and paypal account in PHP
Posted: Wed Jan 07, 2009 9:34 am
by Apollo
If you're new to PHP, you really should think over twice if you actually want to do this yourself. There's a sh!tload of security risks, vulnerabilities, and other tricky mess involved with processing credit cards yourself.
Anyway, you will need an account with some payment service provider, through which you can process your payment data. They will provide an API or SDK which you should use to implement your payment stuff.
Re: How to process a credit card and paypal account in PHP
Posted: Wed Jan 07, 2009 9:42 am
by ummarbhutta
thanks for your reply... Ok I will deal with the security issues.. thats not a problem.. butcan you please let me know some examples of payment service provider?
Re: How to process a credit card and paypal account in PHP
Posted: Wed Jan 07, 2009 9:43 am
by VladSun
Re: How to process a credit card and paypal account in PHP
Posted: Wed Jan 07, 2009 9:45 am
by VladSun
Hi, I am new to PHP,
Ok I will deal with the security issues.. thats not a problem
I don't think so - hire a developer instead.
Re: How to process a credit card and paypal account in PHP
Posted: Wed Jan 07, 2009 9:53 am
by ummarbhutta
I am new to credit card processing, but now to core PHP.... and I am a developer my self... Thanks

Re: How to process a credit card and paypal account in PHP
Posted: Wed Jan 07, 2009 9:55 am
by Apollo
ummarbhutta wrote:Ok I will deal with the security issues.. thats not a problem..
Trust me, it is.
Unless you're into some shady business and don't care about security issues or customer trust, you should really consider using existing, proven alternatives.
butcan you please let me know some examples of payment service provider?
http://www.paymentmerchant.com/PaymentMerchants/