Jump to content

how to integrate paypal using paypal class file


rashgang

Recommended Posts

i have used paypal class file which somebody says its not safe to use this class file in payment sites. please advise on this.

 

i have doubts regarding the paypal ipn and i have 2 files

 

1) paypal.class.php

2) paypal.php

 

i am using it in localserver should i add return url in my developer paypal account. i didnt add the return url but its working fine with the below url

ex:

https://localhost/paypal.php?success

i am getting all the response

here i have attached files please check it

paypal-1.3.0.zip

Link to comment
Share on other sites

An address to localhost, will always point to the machine that calls it, as it is "local".  If you are going to use any file that has credentials in it, then you must secure the folder that holds it.  Either storing it above public access, and/or DENY ALL access to it via .htaccess.

 

Other than that, I do not know of any security concerns with the paypal classes, or API, IPN, etc. Not saying there aren't any, but I am not aware of them.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.