Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function render(PayObject $object, $size = 122)
- {
- $object->validate();
- $bsqr = bysquare_encode_xml($this->generateXML($object));
- if ($bsqr['result'] == 0) {
- $result = bysquare_qr_encode_to_string($bsqr['output'], (int) $size);
- return $result['output'];
- } else {
- return FALSE;
- }
- return FALSE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement