semlabs Posted May 16, 2009 Share Posted May 16, 2009 Hi, I need to integrate PayPal, but I am not sure which of their packages would be best. I want to use the system across a number of sites all of which only have one item which can be bought, but I need to be able to change the price. Quote Link to comment Share on other sites More sharing options...
Masna Posted May 16, 2009 Share Posted May 16, 2009 This is really not the most appropriate place to post a question like this. I suggest contacting PayPal's business-customer support via phone. Quote Link to comment Share on other sites More sharing options...
MasterACE14 Posted May 17, 2009 Share Posted May 17, 2009 use the Instant Payment Notification script generator on their website in the developer/merchant section and generate a PHP one. Then log into your own paypal and go to the Merchant Tools and go to where it says something like 'make your own Buy Now Button' you then put the HTML Buy Now Button in each of your websites, and set the correct field value to the address of where your IPN Script you generated on the website is on your webhost. Then enable Instant Payment Notifications in your paypal somewhere in the account settings, and set the URL to where the IPN script is on your website once again. Finally, edit your IPN script and add whatever you want it to do within the if that checks if the transaction was complete and valid. it will look something similar to this... if($cmd['transaction'] == "VALID") { // do your stuff here, update your database or whatever } information on Instant Payment Notification can be found here... https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_html_instantpaymentnotif information on the variables in the HTML Buy Now Button can be found here... https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables Good Luck, ACE Quote Link to comment 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.