GenieGate, Version 1.1.0 (PHP 5) manual

Configuring GenieGate for PayPal

As you might expect, the configuration for PayPal exists in your ~/geniegate/conf/geniegate.ini file, the relevant section is [PayPal] and will need to be edited. The critical section is email which must be your paypal email address. The IPN process tests this email address and will not grant access when a payment arrives for a different email address. (This is a security measure, without it, someone could gain access by paying themselves rather than you!)

Example 5.1. [PayPal] section of the configuration


;; These are config values for accepting payments from paypal.
[PayPal]
email=joe@example.com
debug=verified.dbg
logfile=/tmp/paypal.log

[PayPal]

email

This contains your email address used by PayPal. Payments will be made to this email address, it is also used during the verification process to ensure someone isn't cheating by directing the payment to themselves.

debug

Filename that contains a fake response from paypal.

[Tip] Tip

Of course, one should always conduct a real live test to determine when things are indeed working properly, however, this feature makes it easy to conduct preliminary tests prior to live tests, this can catch smaller problems before wasting time with live tests. You may set this to verified.dbg or invalid.dbg depending on the response you are testing.

Load users/pp_ipn.php using a web browser, entering the information that would have been sent from paypal.

[Important] Important

Enabling debug will prevent GenieGate from accepting payments and it will potentially allow your users to gain access without payment.

Commenting this out is imperative for normal operations.

logfile

IPN activity can be logged to a filename. This is useful for diagnosing issues with the notification process.

If you are having difficulties with the confirmation, check this log for any clues that might be available.