Try instance_load to get settings (apiKey) for IPN requests.
Add the default settings function back.

The IPN function needs a way to pre-fill default settings if the module hasn't been configured yet.