0

I need to integrate paypal subscription in our grails application.

I have created the subscription button in sandbox. I have created a controller action and provided the corresponding url in the button ipn.

The payments are happening successfully and also emails notifications are being sent. But the action is not getting called by the ipn.

Is it that the ipn url cannot be a controller action.

Rammohan
  • 493
  • 6
  • 27

1 Answers1

1

Is that url accessible from the outside? Paypal will call your url after the subscription from their webservers, therefore your server must be accessible from the internet.

Nicholas
  • 5,770
  • 1
  • 20
  • 30
  • Yes. I have accessed the url from a web browser. Within the action I have specified some print statements which get printed on the server console. While accessing the url manually the statements are getting printed. But nothing is printed when the url is used for notifications. – Rammohan Nov 23 '12 at 04:58
  • So the url does not point to your localhost? Try to access it from another computer that is not in the same local network as yours and make sure that there is no firewall or anything blocking access. – Nicholas Nov 23 '12 at 08:48
  • I have tried accessing it from a different computer. Access does take place. – Rammohan Nov 23 '12 at 19:27