Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. 1. We have added logs to IpnController: Mage::log("PayPal IPN ".time().".", null, "paypal_ipn_access.log"); but no logs are written unless we open URL with browser or send POST request ourselves.
  2.  
  3. 2. If I build POST request with a form using data of the IPN history and send it. It works:
  4.  
  5. "POST /paypal/ipn/ HTTP/1.0" 302 916 "-" "PayPal IPN ( https://www.paypal.com/ipn )"
  6. "POST /paypal/ipn/ HTTP/1.1" 200 298 "http://otherdomain/test.html" "Mozilla/5..."
  7.  
  8. The second one works
  9.  
  10. 3. We have made some hacks to magento: 4 decimal digits and because of this we had to make some changes to avoid paypal suspect fraud.
  11.  
  12. I don't understand why paypal IPN call dont get to the controller. It is redirected first.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement