This post shows you how to enable debugging for when your PMPro-powered site communicates with the payment gateway (via webhook, IPN, or silent post).
This is helpful not only when you are experiencing issues, but if you want to have a more detailed view of all the information your gateway transmits about orders and subscriptions.
Choose the Appropriate Debug Statement for your Gateway
The debug lines are listed below for each gateway we integrate with. To enable, just add the appropriate lines to your site’s wp-config.php file. An email will be sent to the site’s admin email as set under Settings > General.
For PayPal Instant Payment Notifications[more info]
For Stripe Webhooks
For Authorize.net Silent Post Notifications
For Braintree Webhooks
Sending Debug Information to Other Emails
You can set specific email addresses to receive the debug information by changing the lines above as follows:
Logging Debug Information (instead of emailing)
As an alternative, you can set the debug to save to a log file if you’d prefer NOT to receive an email for each piece of activity on your IPN/webhook/silent post URL. You must choose one log method: email or saving to a log file.
Change the line for your gateway as follows:
This will generate a log file within the Paid Memberships Pro “logs” folder located at
/wp-content/plugins/paid-memberships-pro/logs/. The name of the log file will vary based on which gateway you are using. For PayPal IPN Log, the file will be named