Skip to content

Commit

Permalink
Merge pull request #2474 from maniamartial/master
Browse files Browse the repository at this point in the history
fix(mpesa): Make tax id mandatory for vat purpose
  • Loading branch information
shadrak98 authored Feb 12, 2025
2 parents 526f532 + 20195a4 commit d6df5e7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ export default {
'Both partner and phone number are required for payment.',
);
}
if (!this.taxIdInput) {
throw new DashboardError(
'Tax ID is required for payment.',
);
}
},
async onSuccess(data) {
if (data?.ResponseCode === '0') {
Expand Down

0 comments on commit d6df5e7

Please sign in to comment.