I'm working on a plugin which will involve accepting PayPal Instant Payment Notifications. IPNs are a web-hook which gets called when a payment is processed. Currently I have a script to handle the IPNs within the plugin e.g.
I then paste this URL into the PayPal developer settings area.
I'd like to use a more customizable location for the IPN handler (with a friendlier URL).
I was thinking maybe a shortcode could be used to give 'handler' functionality to any page it's inserted in. Is this a sensible idea? Does anyone have any suggestion on how I can make the URL of the handler shorter?