{"id":889,"date":"2016-05-19T15:04:01","date_gmt":"2016-05-19T14:04:01","guid":{"rendered":"http:\/\/bedbugfoundation.org\/membership-join\/"},"modified":"2025-09-23T10:48:17","modified_gmt":"2025-09-23T09:48:17","slug":"membership-join","status":"publish","type":"page","link":"https:\/\/www.bedbugfoundation.org\/de\/membership-join\/","title":{"rendered":"Begleiten Sie uns"},"content":{"rendered":"\n<p>Full Canine Membership of the BBF for one year costs \u20ac35 and can be purchased bellow:<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\"><div class=\"swpm-payment-button\"><div class=\"swpm-button-wrapper swpm-stripe-buy-now-wrapper\"><form id='swpm-stripe-payment-form-5c4681ad7d06efb367b5836a67bbb071' action='https:\/\/www.bedbugfoundation.org\/?swpm_process_stripe_sca_subscription=1&ref_id=swpm_5c4681ad7d06efb367b5836a67bbb071|10389' METHOD='POST'> <div style='display: none !important'>\t<script>\n        document.addEventListener('DOMContentLoaded', function (){\n            const swpmStripeScaSubsPaymentFrom = document.getElementById('swpm-stripe-payment-form-5c4681ad7d06efb367b5836a67bbb071');\n            swpmStripeScaSubsPaymentFrom?.addEventListener('submit', async function (e){\n                e.preventDefault();\n\n                let submitBUtton = this.querySelector('button');\n                if ( ! submitBUtton ){\n                    \/\/ Using image type button\n                    submitBUtton = this.querySelector('input[type=\"image\"]');\n                }\n\n                submitBUtton?.setAttribute('disabled', true);\n\n\t            const stripe_js_obj = stripe_10389;\n                const request_url = 'https:\/\/www.bedbugfoundation.org\/wp-admin\/admin-ajax.php';\n                const payload = new URLSearchParams({\n                    action: 'swpm_stripe_sca_create_checkout_session',\n                    swpm_button_id: 10389,\n                    payment_method_types: '',\n                    swpm_page_url: 'https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/pages\/889',\n                    swpm_uniqid: '5c4681ad7d06efb367b5836a67bbb071'\n                });\n\n                try {\n                    let response = await fetch(request_url, {\n                        method: 'POST',\n                        headers: {\n                            'Content-Type': 'application\/x-www-form-urlencoded',\n                        },\n                        body: payload\n                    })\n\n                    if (!response.ok) {\n                        \/\/ HTTP error codes (e.g. 404, 500)\n                        throw new Error(\"Error code: \" + response.status);\n                    }\n\n                    response = await response.json();\n\n                    if (!response.error) {\n                        stripe_js_obj.redirectToCheckout({\n                            sessionId: response.session_id\n                        }).then(function (result) {\n                            \/\/\n                        });\n                    } else {\n                        alert(response.error);\n                        submitBUtton?.removeAttribute('disabled');\n                        return false;\n                    }\n\n                } catch (e) {\n                    alert(\"HTTP error occurred during AJAX request. Error: \"+ e.message);\n                    submitBUtton?.removeAttribute('disabled');\n                    return false;\n                }\n            })\n        })\n\t<\/script>\n\t<\/div><button id='10389' type='submit' class='stripe-button-el'><span>Debit and Credit<\/span><\/button><\/form><\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\"><div class=\"swpm-payment-button\">    <div id=\"swpm-button-wrapper-10511\" class=\"swpm-button-wrapper swpm-paypal-subscription-button-wrapper\">\n\n    <!-- PayPal button container where the button will be rendered -->\n    <div id=\"swpm_paypal_button_0\" style=\"width: 150px;\"><\/div>\n    <!-- Some additiona hidden input fields -->\n    <input type=\"hidden\" id=\"swpm_paypal_button_0-custom-field\" name=\"custom\" value=\"subsc_ref=3&amp;user_ip=216.73.217.25\">\n\n    <script type=\"text\/javascript\">\n        document.addEventListener( \"swpm_paypal_sdk_subscriptions_loaded\", function() { \n            \/\/Anything that goes here will only be executed after the PayPal SDK is loaded.\n\n            const paypalSubButtonsComponent = swpm_paypal_subscriptions.Buttons({\n                \/\/ optional styling for buttons\n                \/\/ https:\/\/developer.paypal.com\/docs\/checkout\/standard\/customize\/buttons-style-guide\/\n                style: {\n                    color: 'blue',\n                    shape: 'rect',\n                    height: 35,\n                    label: 'paypal',\n                    layout: 'vertical',\n                },\n    \n                \/\/ Handle the createSubscription call\n                createSubscription: async function(data, actions) {\n                    \/\/ console.log('createSubscription call triggered. Data: ' + JSON.stringify(data));\n\n                    \/\/We will send ajax request that will create the subscription from the server side using PayPal API.\n                    let pp_sub_bn_data = {};\n                    pp_sub_bn_data.button_id = '10511';\n                    pp_sub_bn_data.on_page_button_id = 'swpm_paypal_button_0';\n                    pp_sub_bn_data.item_name = 'One Year Full Canine Membership';\n                    let post_data = 'action=swpm_pp_create_subscription&data=' + JSON.stringify(pp_sub_bn_data) + '&_wpnonce=e82b902203';\n                    try {\n                        \/\/ Using fetch for AJAX request. This is supported in all modern browsers.\n                        const response = await fetch(\"https:\/\/www.bedbugfoundation.org\/wp-admin\/admin-ajax.php\", {\n                            method: \"post\",\n                            headers: {\n                                'Content-Type': 'application\/x-www-form-urlencoded'\n                            },\n                            body: post_data\n                        });\n\n                        const response_data = await response.json();\n\n                        if (response_data.subscription_id) {\n                            console.log('Create-subscription API call to PayPal completed successfully.');\n                            \/\/If we need to see the details, uncomment the following line.\n                            \/\/console.log('Order data: ' + JSON.stringify(response_data.sub_data));\n\n                            \/\/Return the subscription ID.\n                            return response_data.subscription_id;\n                        } else {\n                            const error_message = JSON.stringify(response_data);\n                            console.error('Error occurred during the create-subscription API call to PayPal. ' + error_message);\n                            throw new Error(error_message);\n                        }\n                    } catch (error) {\n                        console.error(error);\n                        alert('Could not initiate PayPal subscription...\\n\\n' + JSON.stringify(error));\n                    }\n                },\n    \n                \/\/ Notify the buyer that the subscription is successful\n                onApprove: function(data, actions) {\n                    console.log('Successfully created a subscription.');\n                    \/\/console.log(JSON.stringify(data));\n\n                    \/\/Show the spinner while we process this transaction.\n                    const pp_button_container = document.getElementById('swpm_paypal_button_0');\n                    const pp_button_container_wrapper = document.getElementById('swpm-button-wrapper-10511');\n                    const pp_button_spinner_container = pp_button_container_wrapper.querySelector('.swpm-pp-button-spinner-container');\n                    pp_button_container.style.display = 'none'; \/\/Hide the buttons\n                    pp_button_spinner_container.style.display = 'inline-block'; \/\/Show the spinner.\n\n                    \/\/Get the subscription details and send AJAX request to process the transaction.\n                    actions.subscription.get().then( async function( txn_data ) {\n                        \/\/console.log( 'Subscription details: ' + JSON.stringify( txn_data ) );\n\n                        \/\/Ajax request to process the transaction. This will process it similar to how an IPN request is handled.\n                        const custom = document.getElementById('swpm_paypal_button_0-custom-field').value;\n                        data.custom_field = custom;\n                        data.button_id = '10511';\n                        data.on_page_button_id = 'swpm_paypal_button_0';\n                        data.item_name = 'One Year Full Canine Membership';\n\n                        const post_data = new URLSearchParams({\n                            action: 'swpm_onapprove_process_subscription',\n                            data: JSON.stringify(data),\n                            txn_data: JSON.stringify(txn_data),\n                            _wpnonce: 'e82b902203',\n                        }).toString();\n\n                        try {\n                            const requestUrl = \"https:\/\/www.bedbugfoundation.org\/wp-admin\/admin-ajax.php\";\n                            const resp = await fetch( requestUrl, {\n                                method: \"post\",\n                                headers: {\n                                    'Content-Type': 'application\/x-www-form-urlencoded'\n                                },\n                                body: post_data\n                            });\n\n                            const response = await resp.json();\n\n                            \/\/console.log( 'Response from the server: ' + JSON.stringify( response ) );\n                            if ( response.success ) {\n\n                                \/\/Redirect to the Thank you page or Registration page URL if it is set.\n                                const return_url = response.redirect_url || '';\n                                if( return_url ){\n                                    \/\/redirect to the URL.\n                                    console.log('Redirecting to the Thank you page URL: ' + return_url);\n                                    window.location.href = return_url;\n                                    return;\n                                }\n\n                                \/\/No return URL is set. Just show a success message.\n                                \/\/Important Note: any alert message will block the normal PayPal popup window flow. So we want to show the message on the page instead of using alert.\n                                txn_success_msg = 'Transaktion abgeschlossen!';\n                                const swpm_btn_wrapper_div = document.getElementById('swpm-button-wrapper-10511');\n                                if (swpm_btn_wrapper_div) {\n                                    \/\/ Remove any previous message if it exists\n                                    const old_msg_div = swpm_btn_wrapper_div.querySelector('.swpm-ppcp-txn-success-message');\n                                    if (old_msg_div) old_msg_div.remove();\n\n                                    \/\/ Create new message div\n                                    const new_msg_div = document.createElement('div');\n                                    new_msg_div.className = 'swpm-ppcp-txn-success-message';\n                                    new_msg_div.textContent = txn_success_msg;\n\n                                    \/\/Insert the message div before the button.\n                                    const firstChild = swpm_btn_wrapper_div.firstChild;\n                                    swpm_btn_wrapper_div.insertBefore(new_msg_div, firstChild);\n                                }\n\n                                \/\/ Trigger a event on subscription complete \n                                document.dispatchEvent(new Event('swpm_paypal_subscriptions_complete'));\n                        \n                            } else {\n                                \/\/Error response from the AJAX IPN hanler. Throw error.\n                                throw new Error(response.err_msg);\n                            }\n\n                            \/\/Return the button and the spinner back to their orignal display state.\n                            pp_button_container.style.display = 'block'; \/\/ Show the buttons\n                            pp_button_spinner_container.style.display = 'none'; \/\/ Hide the spinner\n\n                        } catch (error) {\n                            \/\/ Show the error message.\n                            alert(error.message);\n                            console.error( error.message );\n                        }\n                    });\n                },\n    \n                \/\/ handle unrecoverable errors\n                onError: function(err) {\n                    console.error('An error prevented the user from checking out with PayPal. ' + JSON.stringify(err));\n                    alert( 'Fehler beim Checkout-Prozess von PayPal.\\n\\n' + JSON.stringify(err) );\n                }\n            });\n    \n            paypalSubButtonsComponent\n                .render('#swpm_paypal_button_0')\n                .catch((err) => {\n                    console.error('PayPal Buttons failed to render');\n                });\n        });\n    <\/script>\n    <style>\n        @keyframes swpm-pp-button-spinner {\n            to {transform: rotate(360deg);}\n        }\n        .swpm-pp-button-spinner {\n            margin: 0 auto;\n            text-indent: -9999px;\n            vertical-align: middle;\n            box-sizing: border-box;\n            position: relative;\n            width: 60px;\n            height: 60px;\n            border-radius: 50%;\n            border: 5px solid #ccc;\n            border-top-color: #0070ba;\n            animation: swpm-pp-button-spinner .6s linear infinite;\n        }\n        .swpm-pp-button-spinner-container {\n            width: 100%;\n            text-align: center;\n            margin-top:10px;\n            display: none;\n        }\n    <\/style>\n    <div class=\"swpm-pp-button-spinner-container\">\n        <div class=\"swpm-pp-button-spinner\"><\/div>\n    <\/div>\n    <\/div><!-- end of .swpm-button-wrapper -->\n    <\/div>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:43px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Your support of the BBF allows us to:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Continually update the <a href=\"https:\/\/www.bedbugfoundation.org\/canine-code\/\">Canine Code of Practice<\/a> and the <a href=\"https:\/\/www.bedbugfoundation.org\/ecop\/\">European Code of Practice for Bed Bug Management<\/a> with the best possible advice on bed bug detection and treatment.<\/li>\n\n\n\n<li>Continue to provide impartial and unbiased advice on products and services available for the treatment of bed bug infestations.<\/li>\n\n\n\n<li>Continue to provide a free <a href=\"https:\/\/bedbugfoundation.org\/specimen-identification-service\/\">specimen ID service<\/a> available to both professionals and members of the public.<\/li>\n<\/ul>\n\n\n\n<p><strong>Membership entitles you to:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Certify with the BBF and have your certified* team listed in the directory of <a href=\"https:\/\/www.bedbugfoundation.org\/select-region\/\">certified teams<\/a>. (* Inclusion in the certified teams directory requires that teams are both certified with the BBF and have current Canine BBF Membership)<\/li>\n\n\n\n<li>Make use of our free-for-members photo gallery of bed bugs and bed bug infestations.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Full Canine Membership of the BBF for one year costs \u20ac35 and can be purchased bellow: Your support of the BBF allows us to: Membership entitles you to:<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-889","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Join Us - Bed Bug Foundation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bedbugfoundation.org\/de\/membership-join\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Join Us - Bed Bug Foundation\" \/>\n<meta property=\"og:description\" content=\"Full Canine Membership of the BBF for one year costs \u20ac35 and can be purchased bellow: Your support of the BBF allows us to: Membership entitles you to:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bedbugfoundation.org\/de\/membership-join\/\" \/>\n<meta property=\"og:site_name\" content=\"Bed Bug Foundation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-23T09:48:17+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/membership-join\\\/\",\"url\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/membership-join\\\/\",\"name\":\"Join Us - Bed Bug Foundation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/#website\"},\"datePublished\":\"2016-05-19T14:04:01+00:00\",\"dateModified\":\"2025-09-23T09:48:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/membership-join\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bedbugfoundation.org\\\/membership-join\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/membership-join\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Join Us\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/#website\",\"url\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/\",\"name\":\"Bed Bug Foundation\",\"description\":\"Home of the European Code of Practice for Bed Bug Management\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bedbugfoundation.org\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Machen Sie mit - Stiftung f\u00fcr Bettwanzen","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bedbugfoundation.org\/de\/membership-join\/","og_locale":"de_DE","og_type":"article","og_title":"Join Us - Bed Bug Foundation","og_description":"Full Canine Membership of the BBF for one year costs \u20ac35 and can be purchased bellow: Your support of the BBF allows us to: Membership entitles you to:","og_url":"https:\/\/www.bedbugfoundation.org\/de\/membership-join\/","og_site_name":"Bed Bug Foundation","article_modified_time":"2025-09-23T09:48:17+00:00","twitter_card":"summary_large_image","twitter_misc":{"Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.bedbugfoundation.org\/membership-join\/","url":"https:\/\/www.bedbugfoundation.org\/membership-join\/","name":"Machen Sie mit - Stiftung f\u00fcr Bettwanzen","isPartOf":{"@id":"https:\/\/www.bedbugfoundation.org\/#website"},"datePublished":"2016-05-19T14:04:01+00:00","dateModified":"2025-09-23T09:48:17+00:00","breadcrumb":{"@id":"https:\/\/www.bedbugfoundation.org\/membership-join\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bedbugfoundation.org\/membership-join\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bedbugfoundation.org\/membership-join\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bedbugfoundation.org\/"},{"@type":"ListItem","position":2,"name":"Join Us"}]},{"@type":"WebSite","@id":"https:\/\/www.bedbugfoundation.org\/#website","url":"https:\/\/www.bedbugfoundation.org\/","name":"Bettwanzen-Stiftung","description":"Startseite des Europ\u00e4ischen Verhaltenskodex f\u00fcr Bettwanzenmanagement","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bedbugfoundation.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"}]}},"_links":{"self":[{"href":"https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/pages\/889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/comments?post=889"}],"version-history":[{"count":43,"href":"https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/pages\/889\/revisions"}],"predecessor-version":[{"id":10521,"href":"https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/pages\/889\/revisions\/10521"}],"wp:attachment":[{"href":"https:\/\/www.bedbugfoundation.org\/de\/wp-json\/wp\/v2\/media?parent=889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}