php - Is paypal credit card payment secure? -


I am developing an application that is using PayPal credit card payment. I found a php example from PayPal's developer page. This example is accepting user credit card details directly using the normal HTML form. I wonder how security is managed in this type of payment system. I believe if we get details of the user's credit card, we will be able to pay in the future without the user's permission.

I think I can remember some point about paypal credit card payments. Please guide me with the right information Thanks in advance.

Unless you copy the input to the form, Payment is safe. The use of HTML form means that the information of credit card PayPal is sent through the form method and action via HTTP.

If you ensure that the form method is "post" and the action protocol "HTTPS", the user will do the SSL SSL handshake and encryption stuff.

Never use the "GET" method with sensitive data.

  & lt; Form method = "POST" action = "https://something.paypal.com/"> & Lt; Input type = "text" name = "owner" & gt; & Lt; Input type = "text" name = "credit cardano" & gt; & Lt; Input type = "text" name = "end date" & gt; & Lt; Input type = "password" name = "checksum" & gt; & Lt; / Form & gt;  

Please keep in mind that this is just a code example. It will not work that way just to show how it should look.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -