Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
start of bango docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Nov 30, 2012
1 parent 85e7ef1 commit 3da2e21
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/topics/bango.rst
Expand Up @@ -4,4 +4,12 @@
Bango
===================

Under development.
Sellers
===================

The Bango tables contains the Bango specific data for that seller. First you'll
need to create a Bango package by a POST::

POST /bango/package/
{"seller": "/generic/seller/9",
...}
23 changes: 22 additions & 1 deletion docs/topics/setup.rst
Expand Up @@ -81,7 +81,6 @@ example::
'sellerpaypal:id': 'foo.key',
'sellerpaypal:token': 'foo.key',
'sellerpaypal:secret': 'foo.key',
'sellerbluevia:id': 'foo.key',
'sellerproduct:secret': 'foo.key',
}

Expand All @@ -98,6 +97,14 @@ This should set up your database.
PayPal settings
---------------

Having solitude communicate with PayPal can be a slow and cumbersome. To speed
it up you can just mock out all of PayPal::

PAYPAL_MOCK = True

This assumes a happy path, where everything works. Most things are implemented
for the mock.

To actually talk to PayPal you'll need to setup the following settings. These
are the settings for the Sandbox, meaning you can test Solitude without using
real money::
Expand Down Expand Up @@ -133,6 +140,20 @@ front end site is using Solitude::

PAYPAL_URL_WHITELIST = ('https://marketplace-dev.allizom.org',)

Bango settings
--------------

Having solitude communicate with Bango can be a slow and cumbersome. To speed
it up you can just mock out all of Bango::

BANGO_MOCK = True

This assumes a happy path, where everything works. To actually talk to Bango
you'll have need to setup the following::

BANGO_AUTH = {'USER': 'the.bango.username',
'PASSWORD': 'the.bango.password'}

Running
-------

Expand Down

0 comments on commit 3da2e21

Please sign in to comment.