You have selected the Free Member membership level.
Der Preis für den Zugang beträgt 0.00€.
Hast du einen Gutscheincode?
var pmpro_require_billing = false;
//hide/show functions
function showPayPalExpressCheckout()
{
jQuery('#pmpro_billing_address_fields').hide();
jQuery('#pmpro_payment_information_fields').hide();
jQuery('#pmpro_submit_span').hide();
jQuery('#pmpro_paypalexpress_checkout').show();
pmpro_require_billing = false;
}
function showCreditCardCheckout()
{
jQuery('#pmpro_paypalexpress_checkout').hide();
jQuery('#pmpro_billing_address_fields').show();
jQuery('#pmpro_payment_information_fields').show();
jQuery('#pmpro_submit_span').show();
pmpro_require_billing = true;
}
function showFreeCheckout()
{
jQuery('#pmpro_billing_address_fields').hide();
jQuery('#pmpro_payment_information_fields').hide();
jQuery('#pmpro_submit_span').show();
jQuery('#pmpro_paypalexpress_checkout').hide();
pmpro_require_billing = false;
}
function showCheckCheckout()
{
jQuery('#pmpro_billing_address_fields').show();
jQuery('#pmpro_payment_information_fields').hide();
jQuery('#pmpro_submit_span').show();
jQuery('#pmpro_paypalexpress_checkout').hide();
pmpro_require_billing = false;
}
//choosing payment method
jQuery(document).ready(function() {
// Move PayPal Express button into submit box.
var pmpro_form_submit = jQuery('div.pmpro_form_submit');
if (pmpro_form_submit.length) {
// This means we are on v3.1+.
jQuery('#pmpro_paypalexpress_checkout').prependTo(pmpro_form_submit);
} else {
// This means we are on v3.0.x. or earlier.
jQuery('#pmpro_paypalexpress_checkout').appendTo('div.pmpro_submit');
// Remove the screen-reader-text class from the span inside the button.
// Previous versions of PMPro do not load the PayPal logo SVG so we need to show the word PayPal.
jQuery('#pmpro_btn-submit-paypalexpress span.screen-reader-text').removeClass('screen-reader-text');
}
//detect gateway change
jQuery('input[name=gateway]').click(function() {
var chosen_gateway = jQuery(this).val();
if(chosen_gateway == 'paypalexpress') {
showPayPalExpressCheckout();
} else if(chosen_gateway == 'check') {
showCheckCheckout();
} else {
showCreditCardCheckout();
}
});
//update radio on page load
if(jQuery('input[name=gateway]:checked').val() == 'check') {
showCheckCheckout();
} else if(jQuery('input[name=gateway]:checked').val() != 'paypalexpress' && pmpro_require_billing == true) {
showCreditCardCheckout();
} else if(pmpro_require_billing == true) {
showPayPalExpressCheckout();
} else {
showFreeCheckout();
}
});