From 8623e9f1f6ccb14d1363b2dbd19ea184b0131fd3 Mon Sep 17 00:00:00 2001 From: Alain Mazy Date: Tue, 5 Jan 2021 19:49:31 +0100 Subject: [PATCH 1/2] added checkout steps in installation instructions --- README.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.rst b/README.rst index 800d6b9..a49182c 100644 --- a/README.rst +++ b/README.rst @@ -148,6 +148,24 @@ 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:: + + ./manage.py close_expired_accounts + +to close any expired accounts and transfer their funds to the 'expired' +account. + + + + You should also set-up a cronjob that calls:: ./manage.py close_expired_accounts From e985aba65173d81893d74ea0765a9ae4349416f7 Mon Sep 17 00:00:00 2001 From: Alain Mazy Date: Tue, 5 Jan 2021 22:05:52 +0100 Subject: [PATCH 2/2] fix --- README.rst | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.rst b/README.rst index a49182c..6874315 100644 --- a/README.rst +++ b/README.rst @@ -156,16 +156,6 @@ In order to integrate the checkout payment steps, you should: - 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:: - - ./manage.py close_expired_accounts - -to close any expired accounts and transfer their funds to the 'expired' -account. - - - - You should also set-up a cronjob that calls:: ./manage.py close_expired_accounts