Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (36 sloc) 1.37 KB
require 'includes/';
set_option('paypal_url', $_POST['ipn_url']);
$ipn_url = get_option('paypal_url', DEFAULT_IPN_URL)
<?PHP include('inc/'); ?>
<div id="bd">
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<div class="block">
<div class="hd">
<div class="bd">
<form action="settings.php" method="post">
<label for="ipn_url">IPN URL</label> <input type="text" name="ipn_url" id="ipn_url" value="<?PHP echo $ipn_url;?>" class="text">
<span class="info">This is where PayPal will post back to when it receives an <a href="">instant payment notification</a>.
<br>Default is: <a href="<?PHP echo DEFAULT_IPN_URL; ?>"><?PHP echo DEFAULT_IPN_URL; ?></a>
<br>Testing is: <a href="<?PHP echo SANDBOX_IPN_URL; ?>"><?PHP echo SANDBOX_IPN_URL; ?></a></span>
<p><input type="submit" name="btnPayPal" value="Save PayPal Settings" id="btnPayPal"></p>
<div id="sidebar" class="yui-b">
<?PHP include('inc/'); ?>