$msg_text) { ?>
Betaling in behandeling"; echo "De betaling staat nog open. Uw VoiceView account wordt actief zodra de betaling is ontvangen. Houd hiervoor uw e-mail in de gaten"; break; case 'cancelled': echo "

Betaling afgebroken

"; echo "De betaling is afgebroken. Uw VoiceView account is niet actief. Log in op VoiceView om uw account te activeren."; break; case 'expired': echo "

Betalingstermijn verlopen

"; echo "Het betalingstermijn is verlopen. Uw VoiceView account is niet actief. Log in op VoiceView om uw account te activeren."; break; case 'paid': echo "

Betaling ontvangen

"; echo "Gefeliciteerd! Uw Voiceview account is geactiveerd. Log nu in om aan de slag te gaan met VoiceView"; break; case 'refunded': echo "

Betaling teruggestort

"; echo "Uw betaling is terugestort"; break; default: echo "

Betaling in behandeling

"; echo "De betaling is in behandeling. Uw VoiceView account wordt actief zodra de betaling is ontvangen. Houd hiervoor uw e-mail in de gaten"; break; } ?>
payments->create(array( "method" => Mollie_API_Object_Method::IDEAL, "amount" => $product_prizes[$_POST['product']], "description" => $products[$_POST['product']], "redirectUrl" => "{$protocol}{$register}?order_id={$order_id}", "metadata" => array( "order_id" => $order_id, "product_span" => $product_spans[$_POST['product']], "product_limit" => $product_limits[$_POST['product']], ), "issuer" => !empty($_POST["issuer"]) ? $_POST["issuer"] : NULL )); break; case 'paypal': $payment = $mollie->payments->create(array( "method" => Mollie_API_Object_Method::PAYPAL, "amount" => $product_prizes[$_POST['product']], "description" => $products[$_POST['product']], "redirectUrl" => "{$protocol}{$register}?order_id={$order_id}", "metadata" => array( "order_id" => $order_id, "product_span" => $product_spans[$_POST['product']], "product_limit" => $product_limits[$_POST['product']], ), "issuer" => !empty($_POST["issuer"]) ? $_POST["issuer"] : NULL )); break; case 'transfer': $payment = $mollie->payments->create(array( "method" => Mollie_API_Object_Method::BANKTRANSFER, "amount" => $product_prizes[$_POST['product']], "description" => $products[$_POST['product']], "redirectUrl" => "{$protocol}{$register}?order_id={$order_id}", "dueDate" => date('Y-m-d', strtotime(date().'+ '.$transfer_expiration)), "metadata" => array( "order_id" => $order_id, "product_span" => $product_spans[$_POST['product']], "product_limit" => $product_limits[$_POST['product']], ), "issuer" => !empty($_POST["issuer"]) ? $_POST["issuer"] : NULL )); break; default: $msg['error'] = "Selecteer een betaalmode"; break; } createAccount($_POST['account_email_new'],sha1($_POST['account_pwd']),$_POST['account_fullname'],$_POST['account_company'],NULL,1,'NULL'); createOrder($order_id, $nid_newAccount,$products[$_POST['product']],$product_prizes[$_POST['product']],$payment->status,$_POST['payment_method']); header("Location: " . $payment->getPaymentUrl()); } catch (Mollie_API_Exception $e) { echo "API call failed: " . htmlspecialchars($e->getMessage()); } } else { ?>

Registreren

Vul onderstaand formulier in en selecteer uw gewenste betaal methode.

$product_name) { if(isset($_GET['product']) && sha1($product_id) == $_GET['product']) { $checked = "checked"; } else { $checked = ""; } ?>

Ik ga akkoord met de voorwaarden