From 4484412954cfcf656d34b84da99fa1a3c50a7805 Mon Sep 17 00:00:00 2001 From: nkumar-topcoder <33625707+nkumar-topcoder@users.noreply.github.com> Date: Wed, 19 May 2021 15:27:34 +0530 Subject: [PATCH 1/2] BA is to string [skip ci] BA is to string [skip ci] --- src/services/PaymentService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/PaymentService.js b/src/services/PaymentService.js index 3143b936..2dcd8b04 100644 --- a/src/services/PaymentService.js +++ b/src/services/PaymentService.js @@ -84,7 +84,7 @@ async function createChallenge (challenge, token) { if (challenge.billingAccountId) { body.billing = { - billingAccountId: challenge.billingAccountId, + billingAccountId: _.toString(challenge.billingAccountId), markup: 0 // for TaaS payments we always use 0 markup } } From b26f1f9968f2fb5d8f47f218b8674d6f252d4059 Mon Sep 17 00:00:00 2001 From: nkumar-topcoder <33625707+nkumar-topcoder@users.noreply.github.com> Date: Wed, 19 May 2021 15:36:55 +0530 Subject: [PATCH 2/2] BA number to string --- src/services/PaymentService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/PaymentService.js b/src/services/PaymentService.js index 2dcd8b04..d06ad671 100644 --- a/src/services/PaymentService.js +++ b/src/services/PaymentService.js @@ -85,7 +85,7 @@ async function createChallenge (challenge, token) { if (challenge.billingAccountId) { body.billing = { billingAccountId: _.toString(challenge.billingAccountId), - markup: 0 // for TaaS payments we always use 0 markup + markup: 0 // for TaaS payments we always use 0 markup } } try {