Skip to content

Instantly share code, notes, and snippets.

View andreasrsa's full-sized avatar

Andreas Rabetche andreasrsa

View GitHub Profile
@andreasrsa
andreasrsa / ipn-test.php
Created September 30, 2015 20:35 — forked from mikejolley/ipn-test.php
Quick snippet/plugin/dropin to test IPN support
<?php
/**
* Plugin Name: PayPal Sandbox IPN Tester
* Description: Pings the IPN endpoint to see if your server can connect. Just head to <a href="/?ipn-test=1">yoursite.com/?ipn-test=1</a> whilst logged in as admin.
* Version: 1.0.0
* Author: WooThemes
* Requires at least: 4.1
* Tested up to: 4.3
*/
if ( ! defined( 'ABSPATH' ) ) {