Did builtin@search_engine_record.com place an order ? Do you mean Paypal is sending a notification for an order change for the customer builtin@search_engine_record.com ?
As I understand it, builtin@search_engine_record.com is the 'customer' account NopCommerce uses for search engines, so some search engine is ignoring the robots.txt and pinging the plugin IPN url enough to draw PayPal's attention.
If it was a file or directory in IIS you could restrict access down to paypal's domain, but since it is a route I'm not immediately aware of any way to filter out everyone except them at the server level. You could download the source from github and modify the IPNHandler method in the controller though.
Sounds like you're on the right track, and just FYI the builtin@search_engine_record.com ID is typically == 2
you also have the _workContext in the controller so any of the below may be helpful. To be safe, I would use PayPal's IPN simulator to see what a real ping from them shows up looking like before moving to production.
var customerId = _workContext.CurrentCustomer.Id; var isGuest = _workContext.CurrentCustomer.IsGuest(); var isSearchEngine = _workContext.CurrentCustomer.IsSearchEngineAccount(); var isSystemAccount = _workContext.CurrentCustomer.IsSystemAccount;
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hai ancora qualche domanda o hai bisogno di aiuto?