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

Integrate with discount api #1276

Merged
merged 18 commits into from
Dec 15, 2023
Merged

Integrate with discount api #1276

merged 18 commits into from
Dec 15, 2023

Conversation

andrewHEguardian
Copy link
Contributor

@andrewHEguardian andrewHEguardian commented Dec 14, 2023

What does this change?

Integrate with the new discount api to preview and apply discount within digisub saves journey.

Remove the hardcoded price data - instead use the API response for the discounted price and eligibility check. This means the code should work even if prices change.

How to test

Go to /digital/?withFeature=digisubSave and start cancellation journey. See discount offer, click to confirm discount and see next page.

How can we measure success?

Have we considered potential risks?

Images

Accessibility

@andrewHEguardian andrewHEguardian merged commit 901f8b1 into main Dec 15, 2023
10 checks passed
@andrewHEguardian andrewHEguardian deleted the ahe/discount-api branch December 15, 2023 14:49
@prout-bot
Copy link
Collaborator

Seen on PROD (merged by @andrewHEguardian 12 minutes and 9 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants