DeeMcCart / CI_PP5_Jeweller

Jewellery website for CI Project 5
0 stars 2 forks source link

Task/Bug: Order total is saved to table as 0 #41

Closed DeeMcCart closed 6 months ago

DeeMcCart commented 6 months ago

EPIC: #16

This issue created to close out parent issue #19

Assumptions or Pre-Requisites:

Acceptance Criteria: (Must be completed before task is moved to 'Done')

Tasks

Before changing task status to 'Review' or 'Done' please provide comment (and screenprints if appropriate) as documentary evidence of task completion

DeeMcCart commented 6 months ago

06/02/24 DMcC: OK this boiled down to a missing entry in checkout/apps.py: class CheckoutConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'checkout'

**def ready(self):
    import checkout.signals**

Order is confirmed with a total value: Image

And this is consistent with the value in Stripe: Image