Skip to content

Commit

Permalink
bug check 03
Browse files Browse the repository at this point in the history
  • Loading branch information
mah-shamim committed May 4, 2024
1 parent 50b0384 commit 441f4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vendors/IslamiBankApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function directCreditRemittance(array $data): array
$xmlString .= '<xsd:isoCode>'.($data['sending_currency'] ?? null).'</xsd:isoCode>';

if ($data['service_slug'] == 'bank_transfer') {
$xmlString .= '<xsd:beneficiaryAccNo>'.($data['beneficiary_data']['bank_account_number'] ?? null).'</xsd:beneficiaryAccNo>';
$xmlString .= '<xsd:beneficiaryAccNo>'.($data['beneficiary_data']['receiver_information']['beneficiary_data']['bank_account_number'] ?? null).'</xsd:beneficiaryAccNo>';
if ($data['beneficiary_data']['bank_information']['bank_slug'] == 'islami_bank_bangladesh_limited') {
$xmlString .= '<xsd:beneficiaryAccType>'.($data['beneficiary_data']['beneficiaryAccType'] ?? null).'</xsd:beneficiaryAccType>';
$xmlString .= '<xsd:beneficiaryBranchCode>'.($data['beneficiary_data']['branch_information']['branch_data']['islami_bank_branch_code'] ?? null).'</xsd:beneficiaryBranchCode>';
Expand Down

0 comments on commit 441f4bf

Please sign in to comment.