Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

checkout.rst 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ========
  2. Checkout
  3. ========
  4. Flow
  5. ----
  6. The checkout process comprises the following steps:
  7. 1. **Gateway** - Anonymous users are offered the choice of logging in, registering,
  8. or checking out anonymously. Signed in users will be automatically redirected to the next
  9. step.
  10. 2. **Shipping address** - Enter or choose a shipping address.
  11. 3. **Shipping method** - Choose a shipping method. If only one shipping method is available
  12. then it is automatically chosen and the user is redirected onto the next step.
  13. 4. **Payment method** - Choose the method of payment plus any allocations if payment is to be
  14. split across multiple sources. If only one method is available, then the user is
  15. redirected onto the next step.
  16. 5. **Preview** - The prospective order can be previewed.
  17. 6. **Payment details** - If any sensitive payment details are required (e.g., bankcard number),
  18. then a form is presented within this step. This has to be the last step before submission
  19. so that sensitive details don't have to be stored in the session.
  20. 7. **Submission** - The order is placed.
  21. 8. **Thank you** - A summary of the order with any relevant tracking information.
  22. Abstract models
  23. ---------------
  24. None.
  25. Views and mixins
  26. ----------------
  27. .. automodule:: oscar.apps.checkout.views
  28. :members:
  29. .. automodule:: oscar.apps.checkout.mixins
  30. :members:
  31. .. automodule:: oscar.apps.checkout.session
  32. :members:
  33. Forms
  34. -----
  35. .. automodule:: oscar.apps.checkout.forms
  36. :members:
  37. Utils
  38. -----
  39. .. automodule:: oscar.apps.checkout.calculators
  40. :members:
  41. .. automodule:: oscar.apps.checkout.utils
  42. :members: