简体   繁体   English

浏览器在Paypal网站上关闭

[英]Browser close on Paypal site

how to check if a customer navigate to paypal site. 如何检查客户是否导航到Paypal网站。 and if he close the browser and do not return back to the main site. 并且如果他关闭了浏览器并且不返回主站点。 then i have to do my code at this point.. if any idea. 那么我必须在这一点上做我的代码..如果有任何想法。

and is it possible to pass my text to paypal site to show warning not to close the page etc et 并且有可能将我的文本传递到Paypal网站以显示警告,请注意不要关闭页面等

You can use Paypal's Instant Payment Notification (IPN) functionality to process a payment even if the user closes the browser down before they are redirected back to your site. 您可以使用Paypal的即时付款通知(IPN)功能来处理付款,即使用户在将浏览器重定向回您的网站之前将其关闭也是如此。

It's not clear from your question tags if you need a php or an asp.net solution, but the article below provides an excellent breakdown on how to integrate PayPal with a .net web-site - 从您的问题标记中尚不清楚您是否需要php或asp.net解决方案,但是下面的文章提供了有关如何将PayPal与.net网站集成的出色细分-

http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers

The solution to that is to use Paypal's IPN (Instant Payment Notification) . 解决方案是使用Paypal的IPN(即时付款通知)

Paypal will post to your IPN script to inform you that a transaction has been affected. 贝宝将发布到您的IPN脚本中,以通知您交易已受到影响。 This is done server-to-server, so it is more reliable than waiting for the user's browser to return to your site. 这是在服务器到服务器之间完成的,因此它比等待用户的浏览器返回您的站点更为可靠。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM