Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added checkout steps in installation instructions #123

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ Furthermore you need to add the url-pattern to your `urls.py`
]


In order to integrate the checkout payment steps, you should:

- first fork the checkout app in your app through ``manage.py oscar_fork_app checkout my_app``
- in the `INSTALLED_APPS`, replace `oscar.apps.checkout.apps.CheckoutConfig` by `my_app.checkout.apps.CheckoutConfig`
- create a `my_app/checkout/views.py` file and copy the content from the `sandbox/checkout/views.py` file in this repo
- copy the content of the `sandbox/templates/oscar/checkout/` folder in your app `templates/oscar/checkout` folder


You should also set-up a cronjob that calls::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is repeating what appears directly below?


./manage.py close_expired_accounts
Expand Down