- 
                Notifications
    You must be signed in to change notification settings 
- Fork 269
Open
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:
QuickBooks-V3-PHP-SDK/src/DataService/DataService.php
Lines 862 to 866 in 20ce804
| 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
Metadata
Assignees
Labels
No labels