regluit/payment
Raymond Yee 7c013ef93b Merge pull request #190 from Gluejar/instant_charge
Instant charge:  implementing PaymentManager.charge
2013-07-19 16:12:03 -07:00
..
management PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
migrations [#37567927] enforce constraint of at most 1 active Account / user of given host 2012-10-11 16:36:24 -07:00
templates cleanup of css and js imports, also mapping 2013-03-08 14:16:24 -05: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
baseprocessor.py Merge branch 'master' into instant_charge 2013-06-26 17:17:07 -07:00
credit.py PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
forms.py PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
manager.py first pass at stripelib.Processor.Pay 2013-06-26 18:46:30 -07:00
models.py PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
parameters.py First pass at writing a signal handler to recharge transaction if account updated 2012-11-12 11:22:20 -08:00
signals.py PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
stripelib.py Merge pull request #190 from Gluejar/instant_charge 2013-07-19 16:12:03 -07:00
tests.py added a first pass for payment.tests.TransactionTest.test_paymentmanager_charge to illustrate use of PaymentManager.charge() -> hardwired for stripelib right now.... 2013-06-28 16:05:19 -07:00
urls.py Merge pull request #181 from Gluejar/simpler_download 2013-06-26 11:39:39 -07:00
views.py Merge pull request #181 from Gluejar/simpler_download 2013-06-26 11:39:39 -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