fix: billing dynamic correction payouts
Type of Change
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Fixed incorrect billing first name and last name population, along with related UI issues. Issues ->
first_nameandlast_nameare set different values, but while making confirm calls both are getting same values.- if
first_nameis set and other required fields too, andlast_nameisnullthen no billing field rendered. But still billing details header is appearing.
How did you test it?
assume except first_name and last_name all fields are set.
case 1: first_name: Doest, last_name: John
case 2: 'first_nameandlast_nameboth arenull`
case 3a: first_name: Doest is last_name is null, interac (first_name and last_name is required)
case 3b: first_name: Doest is last_name is null, sepa (first_name is required)
case 4a: first_name: null is last_name : John, interac (first_name and last_name is required)
case 4b: first_name: null is last_name : John, sepa (first_name is required)
Checklist
- [x] I ran
npm run re:build - [x] I reviewed submitted code
- [ ] I added unit tests for my changes where possible
🚫 Missing Linked Issue
Hi 👋 This pull request does not appear to be linked to any open issue yet.
Linking your PR to an issue helps keep the project tidy and ensures the issue is closed automatically.
✔️ How to fix this
- Add a keyword like
Fixes #123orCloses #456to your PR description or a commit message. - Or link it manually using the "Linked issues" panel in the PR sidebar.
✅ Tip: You can link multiple issues. 🚫 Note: If only one issue is linked, it must be open for this check to pass.
Once linked, this check will pass automatically on your next push or when you re-run the workflow.
Thanks for helping maintainers! 🙌
🚫 Missing Linked Issue
Hi 👋 This pull request does not appear to be linked to any open issue yet.
Linking your PR to an issue helps keep the project tidy and ensures the issue is closed automatically.
✔️ How to fix this
- Add a keyword like
Fixes #123orCloses #456to your PR description or a commit message. - Or link it manually using the "Linked issues" panel in the PR sidebar.
✅ Tip: You can link multiple issues. 🚫 Note: If only one issue is linked, it must be open for this check to pass.
Once linked, this check will pass automatically on your next push or when you re-run the workflow.
Thanks for helping maintainers! 🙌
🚫 Missing Linked Issue
Hi 👋 This pull request does not appear to be linked to any open issue yet.
Linking your PR to an issue helps keep the project tidy and ensures the issue is closed automatically.
✔️ How to fix this
- Add a keyword like
Fixes #123orCloses #456to your PR description or a commit message. - Or link it manually using the "Linked issues" panel in the PR sidebar.
✅ Tip: You can link multiple issues. 🚫 Note: If only one issue is linked, it must be open for this check to pass.
Once linked, this check will pass automatically on your next push or when you re-run the workflow.
Thanks for helping maintainers! 🙌
🚫 Missing Linked Issue
Hi 👋 This pull request does not appear to be linked to any open issue yet.
Linking your PR to an issue helps keep the project tidy and ensures the issue is closed automatically.
✔️ How to fix this
- Add a keyword like
Fixes #123orCloses #456to your PR description or a commit message. - Or link it manually using the "Linked issues" panel in the PR sidebar.
✅ Tip: You can link multiple issues. 🚫 Note: If only one issue is linked, it must be open for this check to pass.
Once linked, this check will pass automatically on your next push or when you re-run the workflow.
Thanks for helping maintainers! 🙌
🚫 Missing Linked Issue
Hi 👋 This pull request does not appear to be linked to any open issue yet.
Linking your PR to an issue helps keep the project tidy and ensures the issue is closed automatically.
✔️ How to fix this
- Add a keyword like
Fixes #123orCloses #456to your PR description or a commit message. - Or link it manually using the "Linked issues" panel in the PR sidebar.
✅ Tip: You can link multiple issues. 🚫 Note: If only one issue is linked, it must be open for this check to pass.
Once linked, this check will pass automatically on your next push or when you re-run the workflow.
Thanks for helping maintainers! 🙌