Jump to content

php with paypal


ded

Recommended Posts

This works ok if the buyer presses the "Return to Merchant" button.  Is there something that does an auto return?  I need to be able to update the database to show payment confirmed.

 

Actually, even if you click the button, the url reads http://www.Website.com/ordercomplete.php?merchant_return_link=Return+to+Merchant

 

 

Link to comment
https://forums.phpfreaks.com/topic/195634-php-with-paypal/#findComment-1027907
Share on other sites

  • 1 month later...

Updating your database is not recommend on your return page.  There is no guarantee the user will return to the return page (even with auto-return enabled).  You should use IPN https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNIntro instead, which is always guaranteed to take place.  It's server to server communication, though, so it's a little bit tougher to setup.  I created a solution that a lot of people are using.  It's posted on PayPal's developer forum:  https://www.x.com/thread/30664

Link to comment
https://forums.phpfreaks.com/topic/195634-php-with-paypal/#findComment-1048746
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.