You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Francis Guchie <fr...@gmail.com> on 2021/01/04 10:20:52 UTC

Re: [Mifos-developer] SYSTEM BUG ON TRANSACTION CREATION

Emmanuel INMHO,
You have not read the user menu deep enough. I am sure this is not a bug.
If you need to know the id of the payment type, go to the Database using
HeidiSQL / mySQL workbench and so the id of the payment type u have added.

Step 1 add the id here
[image: image.png]

step 2 - how you know the ID
[image: image.png]




My Kind Regards

Francis Guchie Kirago
*Skype:* francisguchie
*Telegram: *232 79 19 44 07
*Whatsapp: *232 79 19 44 07
*LINKEDIN:* https://www.linkedin.com/in/francis-guchie-kirago-a4379617/
twitter: @FrancisGuchie









On Sat, Jan 2, 2021 at 1:45 PM Emmanuel Njoku <ei...@gmail.com> wrote:

> Dear V.G,
>
> I have passed 14 as paymentTypeId which is present on the system.
>
> Thanks
>
> On Sat, Jan 2, 2021 at 11:01 AM V G <vg...@gmail.com> wrote:
>
>> Hello Emmanuel,
>>
>>
>> You need to pass the paymentTypeId that Is present in the system.
>>
>> It's not a mandatory parameter.
>>
>> You can either create a new payment type and use that id
>>
>> Or
>>
>> You can ignore the parameter
>>
>>
>> On Sat, 2 Jan, 2021, 2:23 pm Emmanuel Njoku, <ei...@gmail.com> wrote:
>>
>>> Dear Team,
>>>
>>>  On [fineract] branch develop which was deployed on the Apache Tomcat 9.
>>> There is another bug in the transaction deposit and withdrawal.
>>>
>>>
>>> https://localhost/fineract-provider/api/v1/savingsaccounts/4/transactions?command=deposit
>>>
>>>
>>> {
>>>   "locale" : "en",
>>>   "dateFormat" : "dd MMMM yyyy",
>>>   "transactionDate" : "31 January 2021",
>>>   "transactionAmount" : "5000",
>>>   "paymentTypeId" : "14",
>>>   "accountNumber" : "acc199",
>>>   "checkNumber" : "che199",
>>>   "routingCode" : "rou199",
>>>   "receiptNumber" : "rec199",
>>>   "bankNumber" : "ban199"
>>> }
>>>
>>> This is the error message:
>>> {
>>>     "developerMessage": "The requested resource is not available.",
>>>     "httpStatusCode": "404",
>>>     "defaultUserMessage": "The requested resource is not available.",
>>>     "userMessageGlobalisationCode": "error.msg.resource.not.found",
>>>     "errors": [
>>>         {
>>>             "developerMessage": "PaymentType with 14 does not exist",
>>>             "defaultUserMessage": "PaymentType with 14 does not exist",
>>>             "userMessageGlobalisationCode":
>>> "error.msg.payment.type.invalid",
>>>             "parameterName": "id",
>>>             "value": null,
>>>             "args": [
>>>                 {
>>>                     "value": 14
>>>                 }
>>>             ]
>>>         }
>>>     ]
>>> }
>>>
>>> On Thu, Dec 31, 2020 at 8:27 AM Elirehema Paul <el...@singo.africa>
>>> wrote:
>>>
>>>> Emmanuel Njoku you have passed a unsupported parameter `street` in your
>>>> post request address object. Just delete it
>>>> ---
>>>> *Elirehema Paul*
>>>> *Software Developer at Singo Africa Limited*
>>>> :D
>>>>
>>>>  Github <https://github.com/elirehema>  LinkedIn
>>>> <https://www.linkedin.com/in/elirehema-paul-3755b4124/>  Stackoverflow
>>>> <https://stackoverflow.com/users/7098524/eli>
>>>>
>>>>
>>>>
>>>>
>>>> On 2020-12-30 15:07, Emmanuel Njoku wrote:
>>>>
>>>> Dear team,
>>>>
>>>> After cloning [fineract] branch develop and deployed on the Apache
>>>> Tomcat 9. I am unable to create a client using
>>>> {
>>>>   "officeId": 1,
>>>>   "fullname": "EMMANUEL",
>>>>   "mobileNo": "91530907963",
>>>>   "externalId": "AA107894",
>>>>   "dateFormat": "dd MMMM yyyy",
>>>>   "locale": "en",
>>>>   "active": true,
>>>>   "activationDate": "21 December 2020",
>>>>   "submittedOnDate":"21 December 2020",
>>>>   "address":[
>>>>     {
>>>>         "addressTypeId": 1,
>>>>         "isActive": true,
>>>>         "street": "JEMTOK STREET",
>>>>         "stateProvinceId": 20,
>>>>         "countryId": 18
>>>>     }],
>>>>     "accountNo":"R0104662",
>>>>     "genderId":"15",
>>>>     "savingsProductId": 1,
>>>>     "emailAddress" : "emma@gmail.com",
>>>>    "dateOfBirth" : "17 March 1989"
>>>> }
>>>>
>>>> The error message is :
>>>> {
>>>>     "developerMessage":
>>>> "The request was invalid. This typically will happen due to validation errors which are provided."
>>>> ,
>>>>     "httpStatusCode": "400",
>>>>     "defaultUserMessage": "Validation errors exist.",
>>>>     "userMessageGlobalisationCode":
>>>> "validation.msg.validation.errors.exist",
>>>>     "errors": [
>>>>         {
>>>>             "developerMessage":
>>>> "The parameter street is not supported.",
>>>>             "defaultUserMessage":
>>>> "The parameter street is not supported.",
>>>>             "userMessageGlobalisationCode":
>>>> "error.msg.parameter.unsupported",
>>>>             "parameterName": "street",
>>>>             "value": null,
>>>>             "args": [
>>>>                 {
>>>>                     "value": "street"
>>>>                 }
>>>>             ]
>>>>         }
>>>>     ]
>>>> }
>>>>
>>>> Mifos-developer mailing list
>>>> mifos-developer@lists.sourceforge.net
>>>> Unsubscribe or change settings at:
>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>>
>>>> Mifos-developer mailing list
>>>> mifos-developer@lists.sourceforge.net
>>>> Unsubscribe or change settings at:
>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>
>>> Mifos-developer mailing list
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer

Re: [Mifos-developer] SYSTEM BUG ON TRANSACTION CREATION

Posted by Emmanuel Njoku <ei...@gmail.com>.
Thank you for your response. It is a mistake from my side. This is not a
bud.

On Mon, Jan 4, 2021 at 11:21 AM Francis Guchie <fr...@gmail.com>
wrote:

> Emmanuel INMHO,
> You have not read the user menu deep enough. I am sure this is not a bug.
> If you need to know the id of the payment type, go to the Database using
> HeidiSQL / mySQL workbench and so the id of the payment type u have added.
>
> Step 1 add the id here
> [image: image.png]
>
> step 2 - how you know the ID
> [image: image.png]
>
>
>
>
> My Kind Regards
>
> Francis Guchie Kirago
> *Skype:* francisguchie
> *Telegram: *232 79 19 44 07
> *Whatsapp: *232 79 19 44 07
> *LINKEDIN:* https://www.linkedin.com/in/francis-guchie-kirago-a4379617/
> twitter: @FrancisGuchie
>
>
>
>
>
>
>
>
>
> On Sat, Jan 2, 2021 at 1:45 PM Emmanuel Njoku <ei...@gmail.com> wrote:
>
>> Dear V.G,
>>
>> I have passed 14 as paymentTypeId which is present on the system.
>>
>> Thanks
>>
>> On Sat, Jan 2, 2021 at 11:01 AM V G <vg...@gmail.com> wrote:
>>
>>> Hello Emmanuel,
>>>
>>>
>>> You need to pass the paymentTypeId that Is present in the system.
>>>
>>> It's not a mandatory parameter.
>>>
>>> You can either create a new payment type and use that id
>>>
>>> Or
>>>
>>> You can ignore the parameter
>>>
>>>
>>> On Sat, 2 Jan, 2021, 2:23 pm Emmanuel Njoku, <ei...@gmail.com> wrote:
>>>
>>>> Dear Team,
>>>>
>>>>  On [fineract] branch develop which was deployed on the Apache Tomcat
>>>> 9. There is another bug in the transaction deposit and withdrawal.
>>>>
>>>>
>>>> https://localhost/fineract-provider/api/v1/savingsaccounts/4/transactions?command=deposit
>>>>
>>>>
>>>> {
>>>>   "locale" : "en",
>>>>   "dateFormat" : "dd MMMM yyyy",
>>>>   "transactionDate" : "31 January 2021",
>>>>   "transactionAmount" : "5000",
>>>>   "paymentTypeId" : "14",
>>>>   "accountNumber" : "acc199",
>>>>   "checkNumber" : "che199",
>>>>   "routingCode" : "rou199",
>>>>   "receiptNumber" : "rec199",
>>>>   "bankNumber" : "ban199"
>>>> }
>>>>
>>>> This is the error message:
>>>> {
>>>>     "developerMessage": "The requested resource is not available.",
>>>>     "httpStatusCode": "404",
>>>>     "defaultUserMessage": "The requested resource is not available.",
>>>>     "userMessageGlobalisationCode": "error.msg.resource.not.found",
>>>>     "errors": [
>>>>         {
>>>>             "developerMessage": "PaymentType with 14 does not exist",
>>>>             "defaultUserMessage": "PaymentType with 14 does not exist",
>>>>             "userMessageGlobalisationCode":
>>>> "error.msg.payment.type.invalid",
>>>>             "parameterName": "id",
>>>>             "value": null,
>>>>             "args": [
>>>>                 {
>>>>                     "value": 14
>>>>                 }
>>>>             ]
>>>>         }
>>>>     ]
>>>> }
>>>>
>>>> On Thu, Dec 31, 2020 at 8:27 AM Elirehema Paul <el...@singo.africa>
>>>> wrote:
>>>>
>>>>> Emmanuel Njoku you have passed a unsupported parameter `street` in
>>>>> your post request address object. Just delete it
>>>>> ---
>>>>> *Elirehema Paul*
>>>>> *Software Developer at Singo Africa Limited*
>>>>> :D
>>>>>
>>>>>  Github <https://github.com/elirehema>  LinkedIn
>>>>> <https://www.linkedin.com/in/elirehema-paul-3755b4124/>  Stackoverflow
>>>>> <https://stackoverflow.com/users/7098524/eli>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 2020-12-30 15:07, Emmanuel Njoku wrote:
>>>>>
>>>>> Dear team,
>>>>>
>>>>> After cloning [fineract] branch develop and deployed on the Apache
>>>>> Tomcat 9. I am unable to create a client using
>>>>> {
>>>>>   "officeId": 1,
>>>>>   "fullname": "EMMANUEL",
>>>>>   "mobileNo": "91530907963",
>>>>>   "externalId": "AA107894",
>>>>>   "dateFormat": "dd MMMM yyyy",
>>>>>   "locale": "en",
>>>>>   "active": true,
>>>>>   "activationDate": "21 December 2020",
>>>>>   "submittedOnDate":"21 December 2020",
>>>>>   "address":[
>>>>>     {
>>>>>         "addressTypeId": 1,
>>>>>         "isActive": true,
>>>>>         "street": "JEMTOK STREET",
>>>>>         "stateProvinceId": 20,
>>>>>         "countryId": 18
>>>>>     }],
>>>>>     "accountNo":"R0104662",
>>>>>     "genderId":"15",
>>>>>     "savingsProductId": 1,
>>>>>     "emailAddress" : "emma@gmail.com",
>>>>>    "dateOfBirth" : "17 March 1989"
>>>>> }
>>>>>
>>>>> The error message is :
>>>>> {
>>>>>     "developerMessage":
>>>>> "The request was invalid. This typically will happen due to validation errors which are provided."
>>>>> ,
>>>>>     "httpStatusCode": "400",
>>>>>     "defaultUserMessage": "Validation errors exist.",
>>>>>     "userMessageGlobalisationCode":
>>>>> "validation.msg.validation.errors.exist",
>>>>>     "errors": [
>>>>>         {
>>>>>             "developerMessage":
>>>>> "The parameter street is not supported.",
>>>>>             "defaultUserMessage":
>>>>> "The parameter street is not supported.",
>>>>>             "userMessageGlobalisationCode":
>>>>> "error.msg.parameter.unsupported",
>>>>>             "parameterName": "street",
>>>>>             "value": null,
>>>>>             "args": [
>>>>>                 {
>>>>>                     "value": "street"
>>>>>                 }
>>>>>             ]
>>>>>         }
>>>>>     ]
>>>>> }
>>>>>
>>>>> Mifos-developer mailing list
>>>>> mifos-developer@lists.sourceforge.net
>>>>> Unsubscribe or change settings at:
>>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>>>
>>>>> Mifos-developer mailing list
>>>>> mifos-developer@lists.sourceforge.net
>>>>> Unsubscribe or change settings at:
>>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>>
>>>> Mifos-developer mailing list
>> mifos-developer@lists.sourceforge.net
>> Unsubscribe or change settings at:
>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>
>