regluit/payment
eric 1764cd62d6 small optimization of supporter count 2012-07-07 16:38:23 -04:00
..
management [finish #31637107] refactored transaction summary code, now considers pending and other transactions 2012-06-21 23:20:58 -04:00
migrations Adding dynamic module selection for payment modules. Dynamic IPN selection for amazon payments. Bug Fixes 2012-05-11 07:19:13 -04:00
templates First pass at trying to integrate Amazon fps 2012-04-11 09:51:18 -07:00
templatetags First pass at trying to integrate Amazon fps 2012-04-11 09:51:18 -07:00
README.txt Adding missing README 2011-09-27 08:56:50 -04:00
__init__.py Adding pledge payment support 2011-09-27 08:48:11 -04:00
amazon.py Adding better error/exception handling to the amazon payment return URL 2012-06-12 14:52:53 -04:00
manager.py If we're canceling a campaign, record the reason in the transaction.reason as "UNSUCCESSFUL CAMPAIGN" (by default) 2012-06-29 11:11:42 -07:00
models.py [finish #31637107] refactored transaction summary code, now considers pending and other transactions 2012-06-21 23:20:58 -04:00
parameters.py Renaming the current functionality that has been named "cancel" to be "nevermind" because that functionality arose to support users changing their mind 2012-05-18 16:59:48 -07:00
paypal.py Renaming the current functionality that has been named "cancel" to be "nevermind" because that functionality arose to support users changing their mind 2012-05-18 16:59:48 -07:00
signals.py improving ple pledge_modified 2012-05-29 20:50:53 -04:00
tests.py small optimization of supporter count 2012-07-07 16:38:23 -04:00
urls.py certain test views that should be on only if DEBUG = True 2012-05-17 13:54:09 -07:00
views.py unused code 2012-06-21 23:20:58 -04:00

README.txt

Setup instructions for payment module

1)  In parameters.py, set the following:

    PAYPAL_USERNAME = Paypal username from developer.paypal.com
    PAYPAL_PASSWORD =  Paypal password from developer.paypal.com
    PAYPAL_SIGNATURE = Paypal signature from developer.paypal.com
    PAYPAL_APPID = 'APP-80W284485P519543T' (for all sandbox apps), or the real APPID

    BASE_URL = Set this to the server IP address that is accessible via port 80.  
                Local IP addresses, or non-port 80 addresses will NOT work with paypal IPN.
                
    COMPLETE_URL = relative local URL for a plege confirmation
    CANCEL_URL = relative local url for a pledge cacellation
    
2) Sync the database to include the payment specific tables

3) Configure your paypal sandbox account at developer.paypal.com with at least 1 seller and 1 buyer.  The buyer info is entered into the sandbox, the seller
    info needs to be entered into the pledge/payment itself

4) A test pledge code sample is available in regluit.payment.view.testPledge