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

Hide payment confirmation in back-office #895

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

Cruikshanks
Copy link
Member

https://eaflood.atlassian.net/browse/RUBY-1141

We have come across an issue where we need to change behaviour in the journey based on whether a registration or renewal is being carried out in either the front-office app or the back-office app.

We should have known, but have just realised that Worldpay does not send payment confirmation emails if the merchant code used is MOTO.

So there is no point in asking for and validating a payment confirmation email if the registration or renewal is created in the back-office.

So this change updates the engine to amend the behaviour of the payment summary screen, specifically whether to include the payment confirmation section, and expect a value in the POST based on whether the host app as told us it's the back-office.

https://eaflood.atlassian.net/browse/RUBY-1141

We have come across an issue where we need to change behaviour in the journey based on whether a registration or renewal is being carried out in either the front-office app or the back-office app.

We should have known, but have just realised that Worldpay does not send payment confirmation emails if the merchant code used is MOTO.

So there is no point in asking for and validating a payment confirmation email if the registration or renewal is created in the back-office.

So this change updates the engine to amend the behaviour of the payment summary screen, specifically whether to include the payment confirmation section, and expect a value in the POST based on whether the host app as told us it's the back-office.
@Cruikshanks Cruikshanks added the enhancement New feature or request label Jul 22, 2020
@Cruikshanks Cruikshanks self-assigned this Jul 22, 2020
@Cruikshanks Cruikshanks marked this pull request as ready for review July 22, 2020 16:52
@Cruikshanks Cruikshanks merged commit 095030e into main Jul 22, 2020
@Cruikshanks Cruikshanks deleted the hide-payment-confirmation-in-bo branch July 22, 2020 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant