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

Payments Requests containing ReadRefundAccount=Yes should return accountNo and sortcode #14

Assignees
Labels
enhancement New feature or request fixed: t-rex
Milestone

Comments

@BohoCode
Copy link
Contributor

BohoCode commented Dec 7, 2020

ZD: 55834

When a TPP sets the ReadRefundAccount=yes in a payment request the response should contain Sort Code and Account Number.

The ReadRefundAccount field was added in 3.1.4 so this functionality needs to be put into a filter and that filter needs to be added to 3.1.4, 3.1.5 & 3.1.6 controllers.

Acceptance Criteria

  • End to end test in postman covers this functionality and pass against master
  • Functional Tests cover this functionality and pass against master
@jsanhc
Copy link
Contributor

jsanhc commented Dec 23, 2020

Payments affected

  • DomesticPayment
  • DomesticScheduledPayment
  • DomesticStandingOrder
  • InternationalPayment
  • InternationalScheduledPayment
  • InternationalStandingOrder

Versions

  • From 3.1.4 to latest

@jsanhc
Copy link
Contributor

jsanhc commented Dec 23, 2020

jsanhc added a commit to OpenBankingToolkit/openbanking-aspsp that referenced this issue Dec 24, 2020
- Domestic payments
- Internationsl payments
Issue: OpenBankingToolkit/openbanking-toolkit#14
jsanhc added a commit to OpenBankingToolkit/openbanking-aspsp that referenced this issue Jan 5, 2021
- Domestic payments
- Internationsl payments
Issue: OpenBankingToolkit/openbanking-toolkit#14
jsanhc added a commit to OpenBankingToolkit/openbanking-aspsp that referenced this issue Jan 11, 2021
* 14: payment refunds - Domestic payments
- Generated API version 3.1.4 and delete extended version 3.1.3
  - modules: aspsp-rs-gateway, aspsp-rs-mock-store
- Create converter for version 3.1.4
- Fix converter 3.1.5 to handler `Read refund account` enumeration values in consent
- Introduced in the payment response the `refund` object account when `read refund account` is set to `YES`
- Created Integration tests for versions 3.1.4 and 3.1.6(extends 3.1.5)
- Domestic payments
- International payments
Issue: OpenBankingToolkit/openbanking-toolkit#14
* Update starter parent to the latest version
* suggested changes and improvements
* fix packagePayment method name to responseEntity on all versions, delete final modifier on RefundPaymentsFactory
@BohoCode BohoCode reopened this Jan 12, 2021
@BohoCode BohoCode changed the title Payments Requestions containing ReadRefundAccount=Yes should return accountNo and sortcode Payments Requests containing ReadRefundAccount=Yes should return accountNo and sortcode Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment