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

[Bexley] Garden subscription flow, front to payment. #5325

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

dracos
Copy link
Member

@dracos dracos commented Jan 14, 2025

Builds on #5324 - with that and the #5322 refactor, basic garden subscription itself is hopefully not too much as you can see, is mostly a test!

With the configuration given in https://github.com/mysociety/societyworks/issues/4613, and a "Garden Subscription" category with payment/payment_method/uprn/property_id extra fields, and not with garden_disabled, with this PR you should be able to get through a subscription sign up from bin day page link in right sidebar to the details page, and with SCP (public) or Paye (staff) payment. It should then confirm and create a report for then sending to Agile (not storing any extra data as yet, see TODOs in the test).

[skip changelog]

@dracos dracos requested a review from davea January 14, 2025 18:01
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.47%. Comparing base (da1a1df) to head (6a422df).
Report is 2 commits behind head on bexley-ww-garden-reviewed.

Additional details and impacted files
@@                    Coverage Diff                     @@
##           bexley-ww-garden-reviewed    #5325   +/-   ##
==========================================================
  Coverage                      82.46%   82.47%           
==========================================================
  Files                            417      418    +1     
  Lines                          33017    33025    +8     
  Branches                        5313     5313           
==========================================================
+ Hits                           27228    27237    +9     
- Misses                          4218     4219    +1     
+ Partials                        1571     1569    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davea davea force-pushed the bexley-ww-pre-work-refactor-2 branch 2 times, most recently from 7210735 to da1a1df Compare February 19, 2025 14:08

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
TODO lots more probably.
It does not know until you have picked DD/CC that DD is cheaper for the first bin.
Perhaps can be implemented as a 5GBP discount when you click the DD option?
@davea davea force-pushed the bexley-ww-garden-subscription branch from b2518f4 to 6a422df Compare February 19, 2025 14:23
@davea davea changed the base branch from bexley-ww-pre-work-refactor-2 to bexley-ww-garden-reviewed February 19, 2025 14:24
@davea davea merged commit 6a422df into bexley-ww-garden-reviewed Feb 19, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants