Page 1 of 1

Payment Type Required

Posted: Thu Dec 20, 2018 9:03 am
by muazzamazaz
I am using PHP Client library for user to user(System user) payment and when I try to do following operation

Code: Select all

$data = $transactionService->getPaymentData(
array('username' => 'u1'),
array('username' => 'u2'),
it gives me error
Payment type is required
While I have already created transfer types in system user configuration section of Account Type.

JSON Output:

Code: Select all

"{"class":"org.cyclos.model.ValidationException","errorCode":"VALIDATION","validation":{"class":"org.cyclos.utils.ValidationResult","properties":["type"],"propertyErrors":{"type":["Payment type is required"]},"firstError":"Payment type is required","allErrors":["Payment type is required"]}}"