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

Open
wants to merge 2 commits into
base: bexley-ww-pre-work-refactor-2
Choose a base branch
from

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]

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?
@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.46%. Comparing base (63b570e) to head (b2518f4).

Additional details and impacted files
@@                        Coverage Diff                        @@
##           bexley-ww-pre-work-refactor-2    #5325      +/-   ##
=================================================================
- Coverage                          82.46%   82.46%   -0.01%     
=================================================================
  Files                                417      418       +1     
  Lines                              32940    32948       +8     
  Branches                            5282     5282              
=================================================================
+ Hits                               27164    27170       +6     
- Misses                              4220     4223       +3     
+ Partials                            1556     1555       -1     

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

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.

2 participants