Example #1
0
 public function getPublicData()
 {
     return Paymentwall_Pro_Error::getPublicData($this->properties);
 }
 private function _parseResponse($response)
 {
     $response = json_decode($response, true);
     if (isset($response)) {
         if (!Paymentwall_Pro_Error::isError($response)) {
             return $response;
         } else {
             return Paymentwall_Pro_Error::wrapError($response);
         }
     } else {
         return Paymentwall_Pro_Error::wrapInternalError($response);
     }
 }