[insert_php]
use OndraKoupil\Csob\Client, OndraKoupil\Csob\Config, OndraKoupil\Csob\Payment;
require_once(‘./wp-content/themes/bridge/vendor/autoload.php’);

$con­fig = new Config(
“M1E3CB3404”, // ID obchodníka
“./wp-content/themes/bridge/ca/production/rsa_M1E3CB3404.key”, // Sou­kro­mý klíč obchodu
“./wp-content/themes/bridge/ca/mips_platebnibrana.csob.cz.pub”, // Veřej­ný klíč banky
“downtownsuites.cz”, // Název obchodu
“http://www.downtownsuites.cz.uvirt64.active24.cz/thanks”, // Návra­to­vá adresa
“https://api.platebnibrana.csob.cz/api/v1.5” // API
);

if (!empty($_POST[“ninja_forms_field_60”])) {

$cli­ent = new Client($config);
try {
$client->testGetConnection();
$client->testPostConnection();
} catch (Excep­ti­on $e) {
die(“Something went wrong: ” . $e->getMessage());
} finally {

$pay­ment = new Payment(time());
$payment->currency = ‘EUR’;
$payment->language = ‘EN’;
$payment->addCartItem(“Transportation”, 1, $_POST[‘ninja_forms_field_60’] * 100);

$respon­se = $client->paymentInit($payment);

$pay­Id = $payment->getPayId();
$pay­Id = $response[“payId”];

wp_mail([‘t.velechovsky@staygroup.cz’,‘karolina.sebkova@www.downtownsuites.cz.uvirt64.active24.cz’], ‘GENNET’,
“Infor­ma­ce k Transportu:
Jmé­no: ” . $_POST[‘ninja_forms_field_49’] . ”
Email: ” . $_POST[‘ninja_forms_field_50’] . ”
Tele­fon: ” . $_POST[‘ninja_forms_field_51’] . ”
Počet lidí: ” . $_POST[‘ninja_forms_field_52’] . ”
Pří­let: ” . $_POST[‘ninja_forms_field_53’] . ”
Čís­lo letu: ” . $_POST[‘ninja_forms_field_54’] . ”
Odlet: ” . $_POST[‘ninja_forms_field_55’] . ”
Čís­lo letu: ” . $_POST[‘ninja_forms_field_56’] . ”
Typ: ” . $_POST[‘ninja_forms_field_57’] . ”
Loka­li­ta: ” . $_POST[‘ninja_forms_field_58’] . ”
”);

wp_mail(‘karolina.sebkova@www.downtownsuites.cz.uvirt64.active24.cz’, ‘GENNET’,
“Infor­ma­ce k Transportu:
Jmé­no: ” . $_POST[‘ninja_forms_field_49’] . ”
Email: ” . $_POST[‘ninja_forms_field_50’] . ”
Tele­fon: ” . $_POST[‘ninja_forms_field_51’] . ”
Počet lidí: ” . $_POST[‘ninja_forms_field_52’] . ”
Pří­let: ” . $_POST[‘ninja_forms_field_53’] . ”
Čís­lo letu: ” . $_POST[‘ninja_forms_field_54’] . ”
Odlet: ” . $_POST[‘ninja_forms_field_55’] . ”
Čís­lo letu: ” . $_POST[‘ninja_forms_field_56’] . ”
Typ: ” . $_POST[‘ninja_forms_field_57’] . ”
Loka­li­ta: ” . $_POST[‘ninja_forms_field_58’] . ”
”);

/*wp_mail($_POST[‘ninja_forms_field_50’], ‘TRANSPORT’, ’
Thank you for your order.
We will con­tact by the e‑mail you indi­ca­ted with further details con­cer­ning transport.
If you have any ques­ti­ons or spe­cial needs, feel free to con­tact us at info@www.downtownsuites.cz.uvirt64.active24.cz

Best Regards

info@www.downtownsuites.cz.uvirt64.active24.cz
www.downtownsuites.cz
Tel. +420 778 523 600
’);*/

$wp_session = WP_Session::get_instance();
$wp_session[’email’] = $_POST[‘ninja_forms_field_50’];

$url = $client->getPaymentProcessUrl($payId);
//$client->redirectToGateway($payment);
}
}

if (!empty($url) and !empty($_POST[“ninja_forms_field_60”])) {
echo “”;
}
[/insert_php]

Transportation Package

FROM AIRPORT TO DOWNTOWN AND BACK

Our dri­ver will be wai­ting for you out­si­de of the secu­red area of the arrival
ter­mi­nal at Vac­lav Havel Air­port Pra­gue 15 minu­tes after your lan­ded accor­ding to the offi­cial lan­ding infor­mati­on pro­vi­ded by the Air­port autho­ri­ties and will be wai­ting for 20 minu­tes maxi­mum. If your pla­in is dela­yed ple­a­se let us know
imme­di­a­te­ly to make sure we will pick you up later. Once pic­ked up, our dri­ver will take you direct­ly to your pre­ferred accpm­p­dati­on in Pra­gue city ceter.

Our dri­ver will pick you up at your pre­ferred accom­mo­dati­on in Pra­gue and take you back to the Vac­lav Havel Pra­gue Air­port. Ple­a­se note, that in the rush hour it can take more than 1 hour to get to the air­port and we recom­mend sche­du­ling your pick up at the hotel at least 3 hours befo­re your fli­ght departure.

Do you want to get a ride?

Trans­por­tati­on form

No Fields Found.

* Your hotel must be loca­ted within 5 km from the cli­nic. This radius offers a vari­e­ty of hotel cho­ices both down­town and in the wider cen­t­re, inclu­ding Down­town Sui­tes apartments.