daily pastebin goal
42%
SHARE
TWEET

bysquare

a guest Jul 28th, 2015 372 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function render(PayObject $object, $size = 122)
  2.         {
  3.                 $object->validate();
  4.  
  5.                 $bsqr = bysquare_encode_xml($this->generateXML($object));
  6.  
  7.                 if ($bsqr['result'] == 0) {
  8.                         $result = bysquare_qr_encode_to_string($bsqr['output'], (int) $size);
  9.                         return $result['output'];
  10.                 } else {
  11.                         return FALSE;
  12.                 }
  13.                 return FALSE;
  14.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top