Payment Type Required
Posted: Thu Dec 20, 2018 9:03 am
I am using PHP Client library for user to user(System user) payment and when I try to do following operation
it gives me error
JSON Output:
Code: Select all
$data = $transactionService->getPaymentData(
array('username' => 'u1'),
array('username' => 'u2'),
null);
While I have already created transfer types in system user configuration section of Account Type.Payment type is required
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"]}}"