How to process a credit card and paypal account in PHP

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
ummarbhutta
Forum Newbie
Posts: 9
Joined: Sun Nov 23, 2008 7:12 am

How to process a credit card and paypal account in PHP

Post 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
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: How to process a credit card and paypal account in PHP

Post 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.
ummarbhutta
Forum Newbie
Posts: 9
Joined: Sun Nov 23, 2008 7:12 am

Re: How to process a credit card and paypal account in PHP

Post 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?
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: How to process a credit card and paypal account in PHP

Post by VladSun »

There are 10 types of people in this world, those who understand binary and those who don't
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: How to process a credit card and paypal account in PHP

Post 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.
There are 10 types of people in this world, those who understand binary and those who don't
ummarbhutta
Forum Newbie
Posts: 9
Joined: Sun Nov 23, 2008 7:12 am

Re: How to process a credit card and paypal account in PHP

Post by ummarbhutta »

I am new to credit card processing, but now to core PHP.... and I am a developer my self... Thanks :wink:
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: How to process a credit card and paypal account in PHP

Post 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/
Post Reply