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

Adding Account number details in the Fund transfer #12

Open
mmesojedec opened this issue Mar 27, 2021 · 1 comment
Open

Adding Account number details in the Fund transfer #12

mmesojedec opened this issue Mar 27, 2021 · 1 comment
Assignees

Comments

@mmesojedec
Copy link

Hi,

I would like to add additional field (account number) to Fund transfer data details.

I checked "handleBankFundTransferThunk.ts" in the " web/src/app/thunks/BankTransfer/" and I can see that additional fields are possible when under "data" structure, like:

const handleBankFundTransfer = (
token: string,
alias: string,
amount: string,
accountNumber: string,
remarks: string,
otpRespose: string
) => (dispatch: Dispatch) => {
axios
.post(routes.api.fundTransfer.payBankTransfer, {
requestBody: {
timestamp: "325553",
device: {
deviceid: "UHDGGF735SVHFVSX",
os: "ios",
host: "lucideustech.com"
},
data: {
alias: alias,
amount: amount,
account_number: accountNumber,
remarks: remarks,
otp_response: otpRespose
}
}

I can see that there are other files related to payment handling:

web/src/app/slices/BankTransferSlice.ts
web/src/app/components/Pages/FundTransfer/BankTransferPage.tsx
web/src/app/store/ReduxState.ts

When ever I tried to modify all files and add "accountNumber" field, I can't rebuild containers, because of errors.
Tried several combinations, but unsuccessful.

Can you just point me where in the structure additional details needs to be added so "accountNumber" field can be included in the Fund transfer details?

Thanks,
Miha

@mmesojedec
Copy link
Author

Hi all,

I figure it out how account No can be added to the data structure.
If you want I can post modified files.

Thanks,
Miha

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

No branches or pull requests

2 participants