regluit/payment
Raymond Yee e0f1ef50cc Rewrote pledging to a campaign to integrate the testview into logic of CampaignFormView directly.
Allow configuration of where PayPal should return after transaction is completed.
2011-10-13 14:13:37 -07:00
..
migrations Changed currency amounts to DecimalField in core and payment 2011-10-05 17:56:20 -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
manager.py Rewrote pledging to a campaign to integrate the testview into logic of CampaignFormView directly. 2011-10-13 14:13:37 -07:00
models.py Changed currency amounts to DecimalField in core and payment 2011-10-05 17:56:20 -07:00
parameters.py wrote a script to look for what main settings variables are used in payment app, and couldn't find any. 2011-10-05 23:53:06 -04:00
paypal.py Rewrote pledging to a campaign to integrate the testview into logic of CampaignFormView directly. 2011-10-13 14:13:37 -07:00
tests.py First pass at incorporating status into Campaign 2011-10-07 20:11:57 -07:00
urls.py Changed currency amounts to DecimalField in core and payment 2011-10-05 17:56:20 -07:00
views.py Ooops....forgot some files in previous commit 2011-10-11 10:03:40 -07: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