king.oslo Posted June 21, 2009 Share Posted June 21, 2009 Hello my friends. I wanted to use paypal as my payment gateway. On their website they talk about intergration into the website, and a API! What is API? Is it a type of programming language? Can I make an API with php? Thanks! Marius Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/ Share on other sites More sharing options...
Philip Posted June 21, 2009 Share Posted June 21, 2009 An API is an application programming interface. http://en.wikipedia.org/wiki/API Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860496 Share on other sites More sharing options...
king.oslo Posted June 21, 2009 Author Share Posted June 21, 2009 Hey, Yes I tried to read that, but it did not make sense to me with my present knowledge.. Can I make an API with php? Thanks :) Marius Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860506 Share on other sites More sharing options...
Ken2k7 Posted June 21, 2009 Share Posted June 21, 2009 Can you? I wouldn't know the answer to that. Is it possible, depends what you want to make. Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860508 Share on other sites More sharing options...
king.oslo Posted June 21, 2009 Author Share Posted June 21, 2009 No idea? This is what I ask you, I do not even know that API means, but acording to paypal, you can take this API and make it compatible with their servers so that you can use them as a payment gateway for an online shop... Thanks for any help. I can do a bit of php, but I have no idea where to start with API. Marius Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860513 Share on other sites More sharing options...
ohdang888 Posted June 21, 2009 Share Posted June 21, 2009 API is not a language. Think of it this way: There's a huge warehouse with a lot of products in it. And there's 1 window for customers to come to and ask how much products are. The warehouse is PayPal, You are the customer, and the window you go to is the API. The paypal API is a program built by paypal to handle interaction between its servers, and other servers on the internet requesting information and requesting certain actions to be taken. Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860515 Share on other sites More sharing options...
Ken2k7 Posted June 21, 2009 Share Posted June 21, 2009 No idea? This is what I ask you, I do not even know that API means, but acording to paypal, you can take this API and make it compatible with their servers so that you can use them as a payment gateway for an online shop... Thanks for any help. I can do a bit of php, but I have no idea where to start with API. Marius You're the only person that can answer that question. If you do not know, then case closed. Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860518 Share on other sites More sharing options...
king.oslo Posted June 21, 2009 Author Share Posted June 21, 2009 API is not a language. Think of it this way: There's a huge warehouse with a lot of products in it. And there's 1 window for customers to come to and ask how much products are. The warehouse is PayPal, You are the customer, and the window you go to is the API. The paypal API is a program built by paypal to handle interaction between its servers, and other servers on the internet requesting information and requesting certain actions to be taken. Thats a fantastic explination. And do I send paypal the information via SLL encrypted string? Thanks, Marius Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860592 Share on other sites More sharing options...
ohdang888 Posted June 21, 2009 Share Posted June 21, 2009 Thats a fantastic explination. And do I send paypal the information via SLL encrypted string? I don't know. Each API is built differently to serve the different needs of people who built it. I'm assuming they required you to encrypt the data you send them, however i'm not familar with the paypal API, so idk. Most companies that build an API also set up a wiki with all the information about the API in it. I'm not sure what paypal does. Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860668 Share on other sites More sharing options...
king.oslo Posted June 21, 2009 Author Share Posted June 21, 2009 Great, thanks! You are very helpful! Now I know where to start. Topic solved.M Quote Link to comment https://forums.phpfreaks.com/topic/163090-solved-about-api/#findComment-860706 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.