Skip to content

Void On BillPayment is not working #479

Open
@shoaibsharif

Description

Currently, when I am trying to void a BillPayment I keep getting Unknow Operation error:

$bill_payment= $dataService->FindById('BillPayment', 1);
$dataService->Void($bill_payment);

I found out that it is not getting the correct query params on DataService.php:

if(in_array($className, CoreConstants::PAYMENTCLASSNAME)) {
$appendString = CoreConstants::VOID_QUERYPARAMETER_PAYMENT;
} else{
$appendString = CoreConstants::VOID_QUERYPARAMETER_GENERAL;
}

and CoreConstant.php

if(in_array($className, CoreConstants::PAYMENTCLASSNAME)) {

I have made a pull request #478 where it fixes the issue.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions