$postdata['de_stattbuchung_event_Modul'], "anrede"=>$postdata['anrede'], "vorname"=>$postdata['vorname'], "nachname"=>$postdata['nachname'], "strasse"=>$postdata['strasse'], "plz"=>$postdata['plz'], "ort"=>$postdata['ort'], "email"=>$postdata['email'], "telefon"=>$postdata['telefon'], "institution"=>$postdata['institution'], "geburtsdatum"=>$gebdate->format(DateTime::ATOM), "de_bidat_av_Profiltyp_geburtsort"=>$postdata['geburtsort'], "kommentar"=>$postdata['kommentar'], "de_stattbuchung_event_Modul"=>$postdata['de_stattbuchung_event_Modul'], "de_stattbuchung_Kanal"=>$apikey, "de_stattbuchung_Verkaufsstelle"=>$verkaufstelle, "systems_sdw_fi_Zahlungsart"=>$zahlungsart, "systems_sdw_hr_Angestellter"=>$oidang ); foreach ($postdata as $key => $value) { if(strpos($key, "de_stattbuchung_Teilnehmerart_") === 0) { $params[$key] = $value; } } $resp=post($sessionInfo, opcPaymentStepOne, $params, "{}", $debug) ; return $resp; } /** * Main. * */ try { $sessionInfo=login($ini['host'], $ini['user'], $ini['psw'], $debug); date_default_timezone_set('Europe/Berlin'); //$resp=get($sessionInfo, opcObjectlistProdukt, $params, $debug) ; $treffpunktid = $_GET['treffpunkt']; $registerid = $_GET['register']; $modulid = $_GET['modul']; $modultermine = $_GET['modultermine']; $formid = $_GET['form']; $stichwortkey = $_GET['stichwort']; $monat = $_GET['monat']; $jahr = $_GET['jahr']; $maxResult = $_GET['maxResultLength']; $teaser = $_GET['teaser']; $viewStyle = $_GET['style']; $verkaufstelle = $ini['de_stattbuchung_Verkaufsstelle']; $zahlungsart = $ini['systems_sdw_fi_Zahlungsart']; if($registerid == 872) { $resp = sendAnmeldung($registerid, $sessionInfo, $ini['apikey'], $ini['oid_ang'], $verkaufstelle, $zahlungsart, $_POST); if($ini['paypal'] == true) { header('Content-type: application/json'); echo json_encode($resp); } //renderAnmeldeformular($resp, $sessionInfo, $ini['paypal'], 2); } // Ausloggen nicht vergessen! logoff($sessionInfo, $debug); } catch (Exception $e) { echo 'Exception: '.$e->getMessage()." code: ".$e->getCode()."
"; } ?>