3v4l.org

run code in 300+ PHP versions simultaneously
<?php class mbe4 { // var $mbe4_username; // var $mbe4_password; // var $mbe4_clientid; // var $mbe4_serviceid; // var $mbe4_contentclass; // var $mbe4_url; function __construct($username, $password, $clientid, $serviceid, $url="https://billing.mbe4.de/widget/singlepayment") { $this->username = $username; $this->password = $password; $this->clientid = $clientid; $this->serviceid = $serviceid; $this->url = $url; } /* * Senden der Daten an mbe4. * params: * $amount: Die Transaktionssumme in EUR * $contentid: Die Art des zu Buchenden Contents. * 1: News/Info * 2. Chat/Flirt * 3. Game * 4. Klingelton * 5. Bild/Logo * 6. Videoclip * 7. Musikdatei * 8. Lokalisierung * 9. Voting * 10. Gewinnspiel * 11. Portal Zugang * 12. Software * 13. Dokument * 14. Ticket * 15. Horoskop * 16. Freizeit * 17. Unterwegs * 18. Finanzen * 19. Shopping * 20. E-Mail * 21. Spende * return: * Liefert ein Key/Value-Array zurück, welches per GET an mbe4 übertragen werden muss. * */ function create_transaction($id,$description="mbe4 payment", $amount, $contentclass=1, $returnurl,$urlencode=TRUE){ // Timestamp generieren $timestamp=date("Y-m-d")."T".date("H:i:s.000")."Z"; // Hashbase definieren $hashbase= $this->password . $this->username . $this->clientid . $this->serviceid . $contentclass . $description . $id . $amount . $returnurl . $timestamp; // hash erzeugen $hashparam=md5($hashbase); // Build the data array that will be translated into hidden form values. $data = array( // General parameters 'username' =>$this->username, 'clientid' => $this->clientid, 'serviceid' => $this->serviceid, 'contentclass' => $contentclass, 'description' => $description, 'clienttransactionid' => $id, 'amount' => $amount, // mbe4 wants ct, no eur 'callbackurl' => $returnurl, 'timestamp' => $timestamp, 'hash' => $hashparam, ); // Sollen die Werte mit urlencode() codiert werden? if($urlencode==TRUE){ foreach($data as $element){ $element= urlencode($element); } } return $data; } /* validate_transaction($mbe4_params) * Validierung der Zahlung. Dafür werden die von mbe4 übergebenen Parameter * plus das mbe4-Password hintereinander gehängt und eine MD5-Summe aus dem String erstellt. * params: * $mbe4_params: Key-Value-Array aus dem per GET übergebenen Parametern * return: * Response-Code, 0 bedeutet erfolgreiche Zahlung * */ function validate_transaction($mbe4_params, $mbe4_password) { // check hash Signierung $hashbase= $mbe4_password . $mbe4_params["transactionid"] . $mbe4_params["clienttransactionid"] . $mbe4_params["responsecode"] . $mbe4_params["description"] . $mbe4_params["subscriberid"] . $mbe4_params["operatorid"] . $mbe4_params["timestamp"]; if(md5($hashbase)!=$mbe4_params["hash"]){ return 999; // Parameter nicht korrekt oder manipuliert! } return $mbe4_params["responsecode"]; // Transaktionscode zurückgeben } function is_valid_responsecode($responsecode) { if($responsecode==0) return TRUE; else return FALSE; } function get_responsemsg_by_responsecode($responsecode){ switch($responsecode){ case 0: return('OK'); case 1: return('NOT FINAL – request was processed successfully but the answer is not final. (e.g. a TAN was sent to the subscriber and tan received must be called)'); case 2: return('authorization failed'); case 3: return('capture failed'); case 4: return('terminate failed'); case 5: return('refund failed'); case 6: return('prepair failed'); case 7: return('transaction failed'); case 8: return('subscription terminate failed'); case 101: return('invalid parameter'); case 109: return('transaction in wrong status'); case 110: return('wrong PIN'); case 111: return('too many PIN attempts - transaction closed'); case 112: return('subscriber aborted transaction'); case 113: return('no route to operator'); case 121: return('subscriberid unascertainable'); case 126: return('sending TAN SMS failed'); case 150: return('subscriptionid unknown'); case 151: return('subscriptionid not unique'); case 152: return('subscription terminated'); case 200: return('internal server error'); case 999: return('hash cant be verified'); case 201: return('system currently unavailable'); default: return(900); } } } $bar = new mbe4('cms.testing', 'cmsTesting', '1002', '3002', 'https://cms.testing/api/payment/start'); $retval = $bar->create_transaction('909', 'product info comes here', '3.0', '1', 'https://cms.testing/daypass/activate' ,TRUE); echo $retval; $response = http_get("http://www.example.com/", array("timeout"=>1), $info); print_r($info);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rh3Na
function name:  (null)
number of ops:  28
compiled vars:  !0 = $bar, !1 = $retval, !2 = $response, !3 = $info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  154     0  E >   NEW                                              $4      'mbe4'
          1        SEND_VAL_EX                                              'cms.testing'
          2        SEND_VAL_EX                                              'cmsTesting'
          3        SEND_VAL_EX                                              '1002'
          4        SEND_VAL_EX                                              '3002'
          5        SEND_VAL_EX                                              'https%3A%2F%2Fcms.testing%2Fapi%2Fpayment%2Fstart'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $4
  155     8        INIT_METHOD_CALL                                         !0, 'create_transaction'
          9        SEND_VAL_EX                                              '909'
         10        SEND_VAL_EX                                              'product+info+comes+here'
         11        SEND_VAL_EX                                              '3.0'
         12        SEND_VAL_EX                                              '1'
         13        SEND_VAL_EX                                              'https%3A%2F%2Fcms.testing%2Fdaypass%2Factivate'
         14        SEND_VAL_EX                                              <true>
         15        DO_FCALL                                      0  $7      
         16        ASSIGN                                                   !1, $7
  156    17        ECHO                                                     !1
  157    18        INIT_FCALL_BY_NAME                                       'http_get'
         19        SEND_VAL_EX                                              'http%3A%2F%2Fwww.example.com%2F'
         20        SEND_VAL_EX                                              <array>
         21        SEND_VAR_EX                                              !3
         22        DO_FCALL                                      0  $9      
         23        ASSIGN                                                   !2, $9
  158    24        INIT_FCALL                                               'print_r'
         25        SEND_VAR                                                 !3
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Class mbe4:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rh3Na
function name:  __construct
number of ops:  16
compiled vars:  !0 = $username, !1 = $password, !2 = $clientid, !3 = $serviceid, !4 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV_INIT                                        !4      'https%3A%2F%2Fbilling.mbe4.de%2Fwidget%2Fsinglepayment'
   13     5        ASSIGN_OBJ                                               'username'
          6        OP_DATA                                                  !0
   14     7        ASSIGN_OBJ                                               'password'
          8        OP_DATA                                                  !1
   15     9        ASSIGN_OBJ                                               'clientid'
         10        OP_DATA                                                  !2
   16    11        ASSIGN_OBJ                                               'serviceid'
         12        OP_DATA                                                  !3
   17    13        ASSIGN_OBJ                                               'url'
         14        OP_DATA                                                  !4
   18    15      > RETURN                                                   null

End of function __construct

Function create_transaction:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 50, Position 2 = 58
Branch analysis from position: 50
2 jumps found. (Code = 77) Position 1 = 51, Position 2 = 57
Branch analysis from position: 51
2 jumps found. (Code = 78) Position 1 = 52, Position 2 = 57
Branch analysis from position: 52
1 jumps found. (Code = 42) Position 1 = 51
Branch analysis from position: 51
Branch analysis from position: 57
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 57
Branch analysis from position: 58
filename:       /in/Rh3Na
function name:  create_transaction
number of ops:  60
compiled vars:  !0 = $id, !1 = $description, !2 = $amount, !3 = $contentclass, !4 = $returnurl, !5 = $urlencode, !6 = $timestamp, !7 = $hashbase, !8 = $hashparam, !9 = $data, !10 = $element
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   50     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      'mbe4+payment'
          2        RECV                                             !2      
          3        RECV_INIT                                        !3      1
          4        RECV                                             !4      
          5        RECV_INIT                                        !5      <true>
   52     6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y-m-d'
          8        DO_ICALL                                         $11     
          9        CONCAT                                           ~12     $11, 'T'
         10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'H%3Ai%3As.000'
         12        DO_ICALL                                         $13     
         13        CONCAT                                           ~14     ~12, $13
         14        CONCAT                                           ~15     ~14, 'Z'
         15        ASSIGN                                                   !6, ~15
   55    16        FETCH_OBJ_R                                      ~17     'password'
   56    17        FETCH_OBJ_R                                      ~18     'username'
         18        CONCAT                                           ~19     ~17, ~18
   57    19        FETCH_OBJ_R                                      ~20     'clientid'
         20        CONCAT                                           ~21     ~19, ~20
   58    21        FETCH_OBJ_R                                      ~22     'serviceid'
         22        CONCAT                                           ~23     ~21, ~22
   59    23        CONCAT                                           ~24     ~23, !3
   60    24        CONCAT                                           ~25     ~24, !1
   61    25        CONCAT                                           ~26     ~25, !0
   62    26        CONCAT                                           ~27     ~26, !2
   63    27        CONCAT                                           ~28     ~27, !4
   64    28        CONCAT                                           ~29     ~28, !6
   54    29        ASSIGN                                                   !7, ~29
   66    30        INIT_FCALL                                               'md5'
         31        SEND_VAR                                                 !7
         32        DO_ICALL                                         $31     
         33        ASSIGN                                                   !8, $31
   70    34        FETCH_OBJ_R                                      ~33     'username'
         35        INIT_ARRAY                                       ~34     ~33, 'username'
   71    36        FETCH_OBJ_R                                      ~35     'clientid'
         37        ADD_ARRAY_ELEMENT                                ~34     ~35, 'clientid'
   72    38        FETCH_OBJ_R                                      ~36     'serviceid'
         39        ADD_ARRAY_ELEMENT                                ~34     ~36, 'serviceid'
   73    40        ADD_ARRAY_ELEMENT                                ~34     !3, 'contentclass'
   74    41        ADD_ARRAY_ELEMENT                                ~34     !1, 'description'
   75    42        ADD_ARRAY_ELEMENT                                ~34     !0, 'clienttransactionid'
   76    43        ADD_ARRAY_ELEMENT                                ~34     !2, 'amount'
   77    44        ADD_ARRAY_ELEMENT                                ~34     !4, 'callbackurl'
   78    45        ADD_ARRAY_ELEMENT                                ~34     !6, 'timestamp'
   79    46        ADD_ARRAY_ELEMENT                                ~34     !8, 'hash'
   68    47        ASSIGN                                                   !9, ~34
   82    48        BOOL                                             ~38     !5
         49      > JMPZ                                                     ~38, ->58
   83    50    > > FE_RESET_R                                       $39     !9, ->57
         51    > > FE_FETCH_R                                               $39, !10, ->57
   84    52    >   INIT_FCALL                                               'urlencode'
         53        SEND_VAR                                                 !10
         54        DO_ICALL                                         $40     
         55        ASSIGN                                                   !10, $40
   83    56      > JMP                                                      ->51
         57    >   FE_FREE                                                  $39
   87    58    > > RETURN                                                   !9
   88    59*     > RETURN                                                   null

End of function create_transaction

Function validate_transaction:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 24
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rh3Na
function name:  validate_transaction
number of ops:  27
compiled vars:  !0 = $mbe4_params, !1 = $mbe4_password, !2 = $hashbase
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   99     0  E >   RECV                                             !0      
          1        RECV                                             !1      
  103     2        FETCH_DIM_R                                      ~3      !0, 'transactionid'
          3        CONCAT                                           ~4      !1, ~3
  104     4        FETCH_DIM_R                                      ~5      !0, 'clienttransactionid'
          5        CONCAT                                           ~6      ~4, ~5
  105     6        FETCH_DIM_R                                      ~7      !0, 'responsecode'
          7        CONCAT                                           ~8      ~6, ~7
  106     8        FETCH_DIM_R                                      ~9      !0, 'description'
          9        CONCAT                                           ~10     ~8, ~9
  107    10        FETCH_DIM_R                                      ~11     !0, 'subscriberid'
         11        CONCAT                                           ~12     ~10, ~11
  108    12        FETCH_DIM_R                                      ~13     !0, 'operatorid'
         13        CONCAT                                           ~14     ~12, ~13
  109    14        FETCH_DIM_R                                      ~15     !0, 'timestamp'
         15        CONCAT                                           ~16     ~14, ~15
  101    16        ASSIGN                                                   !2, ~16
  110    17        INIT_FCALL                                               'md5'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                         $18     
         20        FETCH_DIM_R                                      ~19     !0, 'hash'
         21        IS_NOT_EQUAL                                             $18, ~19
         22      > JMPZ                                                     ~20, ->24
  111    23    > > RETURN                                                   999
  113    24    >   FETCH_DIM_R                                      ~21     !0, 'responsecode'
         25      > RETURN                                                   ~21
  114    26*     > RETURN                                                   null

End of function validate_transaction

Function is_valid_responsecode:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rh3Na
function name:  is_valid_responsecode
number of ops:  7
compiled vars:  !0 = $responsecode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  116     0  E >   RECV                                             !0      
  117     1        IS_EQUAL                                                 !0, 0
          2      > JMPZ                                                     ~1, ->5
  118     3    > > RETURN                                                   <true>
          4*       JMP                                                      ->6
  120     5    > > RETURN                                                   <false>
  121     6*     > RETURN                                                   null

End of function is_valid_responsecode

Function get_responsemsg_by_responsecode:
Finding entry points
Branch analysis from position: 0
25 jumps found. (Code = 187) Position 1 = 49, Position 2 = 50, Position 3 = 51, Position 4 = 52, Position 5 = 53, Position 6 = 54, Position 7 = 55, Position 8 = 56, Position 9 = 57, Position 10 = 58, Position 11 = 59, Position 12 = 60, Position 13 = 61, Position 14 = 62, Position 15 = 63, Position 16 = 64, Position 17 = 65, Position 18 = 66, Position 19 = 67, Position 20 = 68, Position 21 = 69, Position 22 = 70, Position 23 = 71, Position 24 = 72, Position 25 = 2
Branch analysis from position: 49
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 50
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 52
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 53
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 54
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 55
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 56
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 57
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 58
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 59
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 60
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 61
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 62
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 63
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 64
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 65
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 66
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 67
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 68
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 69
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 70
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 71
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 72
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 49
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 6, Position 2 = 50
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 51
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 52
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 53
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 54
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 55
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 56
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 57
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 58
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 59
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 60
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 61
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 62
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 63
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 64
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 65
Branch analysis from position: 36
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 66
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 67
Branch analysis from position: 40
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 68
Branch analysis from position: 42
2 jumps found. (Code = 44) Position 1 = 44, Position 2 = 69
Branch analysis from position: 44
2 jumps found. (Code = 44) Position 1 = 46, Position 2 = 70
Branch analysis from position: 46
2 jumps found. (Code = 44) Position 1 = 48, Position 2 = 71
Branch analysis from position: 48
1 jumps found. (Code = 42) Position 1 = 72
Branch analysis from position: 72
Branch analysis from position: 71
Branch analysis from position: 70
Branch analysis from position: 69
Branch analysis from position: 68
Branch analysis from position: 67
Branch analysis from position: 66
Branch analysis from position: 65
Branch analysis from position: 64
Branch analysis from position: 63
Branch analysis from position: 62
Branch analysis from position: 61
Branch analysis from position: 60
Branch analysis from position: 59
Branch analysis from position: 58
Branch analysis from position: 57
Branch analysis from position: 56
Branch analysis from position: 55
Branch analysis from position: 54
Branch analysis from position: 53
Branch analysis from position: 52
Branch analysis from position: 51
Branch analysis from position: 50
Branch analysis from position: 49
filename:       /in/Rh3Na
function name:  get_responsemsg_by_responsecode
number of ops:  74
compiled vars:  !0 = $responsecode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  123     0  E >   RECV                                             !0      
  124     1      > SWITCH_LONG                                              !0, [ 0:->49, 1:->50, 2:->51, 3:->52, 4:->53, 5:->54, 6:->55, 7:->56, 8:->57, 101:->58, 109:->59, 110:->60, 111:->61, 112:->62, 113:->63, 121:->64, 126:->65, 150:->66, 151:->67, 152:->68, 200:->69, 999:->70, 201:->71, ], ->72
  125     2    >   IS_EQUAL                                                 !0, 0
          3      > JMPNZ                                                    ~1, ->49
  126     4    >   IS_EQUAL                                                 !0, 1
          5      > JMPNZ                                                    ~1, ->50
  127     6    >   IS_EQUAL                                                 !0, 2
          7      > JMPNZ                                                    ~1, ->51
  128     8    >   IS_EQUAL                                                 !0, 3
          9      > JMPNZ                                                    ~1, ->52
  129    10    >   IS_EQUAL                                                 !0, 4
         11      > JMPNZ                                                    ~1, ->53
  130    12    >   IS_EQUAL                                                 !0, 5
         13      > JMPNZ                                                    ~1, ->54
  131    14    >   IS_EQUAL                                                 !0, 6
         15      > JMPNZ                                                    ~1, ->55
  132    16    >   IS_EQUAL                                                 !0, 7
         17      > JMPNZ                                                    ~1, ->56
  133    18    >   IS_EQUAL                                                 !0, 8
         19      > JMPNZ                                                    ~1, ->57
  134    20    >   IS_EQUAL                                                 !0, 101
         21      > JMPNZ                                                    ~1, ->58
  135    22    >   IS_EQUAL                                                 !0, 109
         23      > JMPNZ                                                    ~1, ->59
  136    24    >   IS_EQUAL                                                 !0, 110
         25      > JMPNZ                                                    ~1, ->60
  137    26    >   IS_EQUAL                                                 !0, 111
         27      > JMPNZ                                                    ~1, ->61
  138    28    >   IS_EQUAL                                                 !0, 112
         29      > JMPNZ                                                    ~1, ->62
  139    30    >   IS_EQUAL                                                 !0, 113
         31      > JMPNZ                                                    ~1, ->63
  140    32    >   IS_EQUAL                                                 !0, 121
         33      > JMPNZ                                                    ~1, ->64
  141    34    >   IS_EQUAL                                                 !0, 126
         35      > JMPNZ                                                    ~1, ->65
  142    36    >   IS_EQUAL                                                 !0, 150
         37      > JMPNZ                                                    ~1, ->66
  143    38    >   IS_EQUAL                                                 !0, 151
         39      > JMPNZ                                                    ~1, ->67
  144    40    >   IS_EQUAL                                                 !0, 152
         41      > JMPNZ                                                    ~1, ->68
  145    42    >   IS_EQUAL                                                 !0, 200
         43      > JMPNZ                                                    ~1, ->69
  146    44    >   IS_EQUAL                                                 !0, 999
         45      > JMPNZ                                                    ~1, ->70
  147    46    >   IS_EQUAL                                                 !0, 201
         47      > JMPNZ                                                    ~1, ->71
         48    > > JMP                                                      ->72
  125    49    > > RETURN                                                   'OK'
  126    50    > > RETURN                                                   'NOT+FINAL+%E2%80%93+request+was+processed+successfully+but+the+answer+is+not+final.+%28e.g.+a+TAN+was+sent+to+the+subscriber+and+tan+received+must+be+called%29'
  127    51    > > RETURN                                                   'authorization+failed'
  128    52    > > RETURN                                                   'capture+failed'
  129    53    > > RETURN                                                   'terminate+failed'
  130    54    > > RETURN                                                   'refund+failed'
  131    55    > > RETURN                                                   'prepair+failed'
  132    56    > > RETURN                                                   'transaction+failed'
  133    57    > > RETURN                                                   'subscription+terminate+failed'
  134    58    > > RETURN                                                   'invalid+parameter'
  135    59    > > RETURN                                                   'transaction+in+wrong+status'
  136    60    > > RETURN                                                   'wrong+PIN'
  137    61    > > RETURN                                                   'too+many+PIN+attempts+-+transaction+closed'
  138    62    > > RETURN                                                   'subscriber+aborted+transaction'
  139    63    > > RETURN                                                   'no+route+to+operator'
  140    64    > > RETURN                                                   'subscriberid+unascertainable'
  141    65    > > RETURN                                                   'sending+TAN+SMS+failed'
  142    66    > > RETURN                                                   'subscriptionid+unknown'
  143    67    > > RETURN                                                   'subscriptionid+not+unique'
  144    68    > > RETURN                                                   'subscription+terminated'
  145    69    > > RETURN                                                   'internal+server+error'
  146    70    > > RETURN                                                   'hash+cant+be+verified'
  147    71    > > RETURN                                                   'system+currently+unavailable'
  148    72    > > RETURN                                                   900
  150    73*     > RETURN                                                   null

End of function get_responsemsg_by_responsecode

End of class mbe4.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.97 ms | 1412 KiB | 21 Q