Paypal revised, should work now. #2

This commit is contained in:
Stefan Brannfjell
2014-02-02 03:26:39 +01:00
parent 4bb35904bf
commit 11f90bcab8
2 changed files with 102 additions and 65 deletions

View File

@@ -43,7 +43,7 @@ if ($paypal['enabled']) {
<input type="hidden" name="cancel_return" value="<?php echo $paypal['failed']; ?>">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="notify_url" value="<?php echo $paypal['ipn']; ?>" />
<input type="hidden" name="custom" value="<?php echo sanitize($_SESSION['user_id']).'!'.$price.'!'.$points; ?>">
<input type="hidden" name="custom" value="<?php echo (int)$_SESSION['user_id']; ?>">
<input type="submit" value=" PURCHASE ">
</form>
</td>