{"id":81674,"date":"2022-02-24T10:59:34","date_gmt":"2022-02-24T09:59:34","guid":{"rendered":"https:\/\/www.greenpeace.ch\/agir\/dons\/deine-spende-fuer-den-meeresschutz\/"},"modified":"2026-06-22T15:51:25","modified_gmt":"2026-06-22T13:51:25","slug":"dons-pour-la-protection-des-oceans","status":"publish","type":"page","link":"https:\/\/www.greenpeace.ch\/fr\/agir\/dons-pour-la-protection-des-oceans\/","title":{"rendered":"Dons pour la protection des oc\u00e9ans"},"content":{"rendered":"\n\n<div class=\"wp-block-group alignfull is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-group container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile is-pattern-p4-page-header is-style-parallax\"><div class=\"wp-block-media-text__content\">\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\">\n<h1 class=\"wp-block-heading has-white-background-color has-background\"><strong>Don pour la protection des grands fonds marins<\/strong> <\/h1>\n<\/div>\n\n\n\n<p>Depuis de nombreuses ann\u00e9es, Greenpeace se bat pour la cr\u00e9ation de zones prot\u00e9g\u00e9es afin de pr\u00e9server la beaut\u00e9 de nos oc\u00e9ans. En haute mer, nous \u00e9tudions la biodiversit\u00e9 et d\u00e9non\u00e7ons les crimes environnementaux.<\/p>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"745\" src=\"https:\/\/www.greenpeace.ch\/static\/planet4-switzerland-stateless\/2026\/05\/f807dd9c-gp1sxqfm-1024x745.jpg\" alt=\"\" sizes=\"auto, (min-width: 601px) 50vw, 100vw\" srcset=\"https:\/\/www.greenpeace.ch\/static\/planet4-switzerland-stateless\/2026\/05\/f807dd9c-gp1sxqfm.jpg 8318w, https:\/\/www.greenpeace.ch\/static\/planet4-switzerland-stateless\/2026\/05\/f807dd9c-gp1sxqfm-300x218.jpg 300w, https:\/\/www.greenpeace.ch\/static\/planet4-switzerland-stateless\/2026\/05\/f807dd9c-gp1sxqfm-1024x745.jpg 1024w, https:\/\/www.greenpeace.ch\/static\/planet4-switzerland-stateless\/2026\/05\/f807dd9c-gp1sxqfm-768x559.jpg 768w, https:\/\/www.greenpeace.ch\/static\/planet4-switzerland-stateless\/2026\/05\/f807dd9c-gp1sxqfm-468x340.jpg 468w\" class=\"wp-image-132647 size-full\"\/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading is-style-underline\" id=\"dons\">Faites un don<\/h2>\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"wp-block-planet4-gpch-tamaro-tamaro-widget\">\n\n\t<div class=\"rnw-widget-container\"><\/div>\n\n\t<script src=\"https:\/\/tamaro.raisenow.com\/greenpeace-ch-default\/latest\/widget.js\"><\/script>\n\n\t<script>\n\t\twindow.rnw.tamaro.runWidget('.rnw-widget-container', {\n\t\t\tdebug: false,\n\t\t\ttestMode: false,\n\t\t\tlanguage: 'fr',\n\t\t\tdefaultPaymentType: 'recurring',\n\t\t\tdefaultRecurringInterval: 'monthly',\n\t\t\tshowStoredCustomerEmailPermission: true,\n\t\t\tshowStoredCustomerDonationReceipt: false,\n\t\t\tshow_submit_button: false,\n\t\t\tshow_footer: false,\n\t\t\thighlightRecurring: true,\n\t\t\tpaymentFormPrefill: {\n\t\t\t\tstored_customer_email_permission: true,\n\t\t\t\tstored_customer_donation_receipt: true,\n\t\t\t\tstored_sf_Contact_Source__c: 'Internet',\n\t\t\t\tgpch_product: 'Standard Donation',\n\t\t\t\tstored_sf_Opportunity_Product__c: '',\n\t\t\t\tstored_sf_npe03__Recurring_Donation__c_Product__c: '',\n\t\t\t\t\t\t\t},\n\t\t\tpaymentMethods: [\n\t\t\t\t'twint',\n\t\t\t\t'card',\n\t\t\t\t'apple_pay',\n\t\t\t\t'google_pay',\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() != recurring\",\n\t\t\t\t\t\"then\": [\n\t\t\t\t\t\t\"ch_qr_reference\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring\",\n\t\t\t\t\t\"then\": [\n\t\t\t\t\t\t\"direct_debit\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() != recurring\",\n\t\t\t\t\t\"then\": [\n\t\t\t\t\t\t\"paypal\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t],\n\t\t\tshowBlocks: {\n                \t\t\t},\n            forceShowBlocks: {\n                payment_amounts_and_intervals: true,\n                slot_gpch_next_step_button: true,\n                payment_purposes: false,\n                payment_payment_methods: false,\n                payment_profile: false,\n                payment_address: false,\n                payment_cover_fee: false,\n            },\n\t\t\tpurposes: ['p1'],\n\t\t\tpurposeDetails: {\n\t\t\t\tp1: {\n\t\t\t\t\tstored_campaign_id: '701bH00000ZOr3sQAD'\n\t\t\t\t}\n\t\t\t},\n            blocksOrder: [\n                                'payment_purposes',\n                'payment_amounts_and_intervals',\n                                'slot_gpch_next_step_button',\n                'payment_payment_methods',\n                'payment_profile',\n                'payment_profile_short',\n                'payment_address',\n                'payment_email_permission',\n                'payment_cover_fee',\n                'payment_sepa_mandate_terms',\n                            ],\n\t\t\tslots: {\n\t\t\t\tslot_gpch_next_step_button: [{\n\t\t\t\t\tcomponent: \"block\",\n\t\t\t\t\tchildren: [{\n\t\t\t\t\t\tcomponent: \"block_content\",\n\t\t\t\t\t\tchildren: [{\n\t\t\t\t\t\t\tcomponent: \"content\",\n\t\t\t\t\t\t\ttext_html: \"gpch_next_step_button\"\n\t\t\t\t\t\t}]\n\t\t\t\t\t}]\n\t\t\t\t}],\n                \t\t\t},\n            paymentValidations: {\n                            },\n\t\t\ttranslations: {\n\t\t\t\ten: {\n\t\t\t\t\tamount_descriptions: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif: 'paymentType() == onetime',\n\t\t\t\t\t\t\tthen: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: 'amount() == 84',\n\t\t\t\t\t\t\t\t\tthen: 'permettent\\u0020de\\u0020maintenir\\u0020nos\\u0020navires\\u0020op\\u00E9rationnels\\u0020en\\u0020mer',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: 'amount() == 120',\n\t\t\t\t\t\t\t\t\tthen: 'permettent\\u0020de\\u0020financer\\u0020des\\u0020formations\\u0020essentielles\\u0020pour\\u0020notre\\u0020\\u00E9quipage',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: 'amount() == 150',\n\t\t\t\t\t\t\t\t\tthen: 'nous\\u0020aident\\u0020\\u00E0\\u0020documenter\\u0020et\\u0020\\u00E0\\u0020d\\u00E9noncer\\u0020les\\u0020destructions\\u0020en\\u0020mer',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: 'amount() == custom_amount',\n\t\t\t\t\t\t\t\t\tthen: 'Chaque\\u0020contribution\\u0020aide\\u0020\\u00E0\\u0020prot\\u00E9ger\\u0020nos\\u0020oc\\u00E9ans',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif: 'paymentType() == recurring && recurringInterval() == monthly',\n\t\t\t\t\t\t\tthen: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 7',\n\t\t\t\t\t\t\t\t\t\tthen: 'pour\\u0020d\\u00E9noncer\\u0020la\\u0020destruction\\u0020de\\u0020l\\u0027environnement',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 10',\n\t\t\t\t\t\t\t\t\t\tthen: '\\u0020pour\\u0020mettre\\u0020fin\\u0020\\u00E0\\u0020l\\u0027extraction\\u0020mini\\u00E8re\\u0020en\\u0020eaux\\u0020profondes',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 20',\n\t\t\t\t\t\t\t\t\t\tthen: 'pour\\u0020cr\\u00E9er\\u0020des\\u0020zones\\u0020marines\\u0020prot\\u00E9g\\u00E9es',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: 'amount() == custom_amount',\n\t\t\t\t\t\t\t\t\tthen: 'Chaque\\u0020contribution\\u0020aide\\u0020\\u00E0\\u0020prot\\u00E9ger\\u0020nos\\u0020oc\\u00E9ans',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif: 'paymentType() == recurring && recurringInterval() == quarterly',\n\t\t\t\t\t\t\tthen: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 21',\n\t\t\t\t\t\t\t\t\t\tthen: 'pour\\u0020d\\u00E9noncer\\u0020la\\u0020destruction\\u0020de\\u0020l\\u0027environnement',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 30',\n\t\t\t\t\t\t\t\t\t\tthen: '\\u0020pour\\u0020mettre\\u0020fin\\u0020\\u00E0\\u0020l\\u0027extraction\\u0020mini\\u00E8re\\u0020en\\u0020eaux\\u0020profondes',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 60',\n\t\t\t\t\t\t\t\t\t\tthen: 'pour\\u0020cr\\u00E9er\\u0020des\\u0020zones\\u0020marines\\u0020prot\\u00E9g\\u00E9es',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: 'amount() == custom_amount',\n\t\t\t\t\t\t\t\t\tthen: 'Chaque\\u0020contribution\\u0020aide\\u0020\\u00E0\\u0020prot\\u00E9ger\\u0020nos\\u0020oc\\u00E9ans',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif: 'paymentType() == recurring && recurringInterval() == semestral',\n\t\t\t\t\t\t\tthen: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 42',\n\t\t\t\t\t\t\t\t\t\tthen: 'pour\\u0020d\\u00E9noncer\\u0020la\\u0020destruction\\u0020de\\u0020l\\u0027environnement',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 60',\n\t\t\t\t\t\t\t\t\t\tthen: '\\u0020pour\\u0020mettre\\u0020fin\\u0020\\u00E0\\u0020l\\u0027extraction\\u0020mini\\u00E8re\\u0020en\\u0020eaux\\u0020profondes',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 120',\n\t\t\t\t\t\t\t\t\t\tthen: 'pour\\u0020cr\\u00E9er\\u0020des\\u0020zones\\u0020marines\\u0020prot\\u00E9g\\u00E9es',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: 'amount() == custom_amount',\n\t\t\t\t\t\t\t\t\tthen: 'Chaque\\u0020contribution\\u0020aide\\u0020\\u00E0\\u0020prot\\u00E9ger\\u0020nos\\u0020oc\\u00E9ans',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif: 'paymentType() == recurring && recurringInterval() == yearly',\n\t\t\t\t\t\t\tthen: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 84',\n\t\t\t\t\t\t\t\t\t\tthen: 'pour\\u0020d\\u00E9noncer\\u0020la\\u0020destruction\\u0020de\\u0020l\\u0027environnement',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 120',\n\t\t\t\t\t\t\t\t\t\tthen: '\\u0020pour\\u0020mettre\\u0020fin\\u0020\\u00E0\\u0020l\\u0027extraction\\u0020mini\\u00E8re\\u0020en\\u0020eaux\\u0020profondes',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif: 'amount() == 240',\n\t\t\t\t\t\t\t\t\t\tthen: 'pour\\u0020cr\\u00E9er\\u0020des\\u0020zones\\u0020marines\\u0020prot\\u00E9g\\u00E9es',\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif: 'amount() == custom_amount',\n\t\t\t\t\t\t\t\t\tthen: 'Chaque\\u0020contribution\\u0020aide\\u0020\\u00E0\\u0020prot\\u00E9ger\\u0020nos\\u0020oc\\u00E9ans',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\n\t\t\t\t\t],\n\t\t\t\t\tpurposes: {\n\t\t\t\t\t\tp1: 'Greenpeace Switzerland'\n\t\t\t\t\t},\n\t\t\t\t\tblocks: {\n\t\t\t\t\t\tpayment_profile: {\n\t\t\t\t\t\t\temail_permission_info_html: \"<p>I would like Greenpeace Switzerland to inform me by e-mail about ongoing projects.<\/p>\\n\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tgpch_next_step_button: '<button type=\"button\" class=\"btn btn-block btn-primary\" onClick=\"gpchTamaro.nextStep()\"><span class=\"btn-text\">Suite<\/span><\/button>',\n                    custom_fields_text: '',\n                },\n\t\t\t\tde: {\n\t\t\t\t\tpurposes: {\n\t\t\t\t\t\tp1: 'Greenpeace Schweiz'\n\t\t\t\t\t},\n\t\t\t\t\tblocks: {\n\t\t\t\t\t\tpayment_profile: {\n\t\t\t\t\t\t\temail_permission_info_html: \"<p>Ich m\u00f6chte, dass Greenpeace Schweiz mich per E-Mail \u00fcber laufende Projekte informiert.<\/p>\\n\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tfr: {\n\t\t\t\t\tpurposes: {\n\t\t\t\t\t\tp1: 'Greenpeace Suisse'\n\t\t\t\t\t},\n\t\t\t\t\tblocks: {\n\t\t\t\t\t\tpayment_profile: {\n\t\t\t\t\t\t\temail_permission_info_html: \"<p>Je veux que Greenpeace Suisse m'informe par e-mail des projets en cours.<\/p>\\n\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tit: {\n\t\t\t\t\tpurposes: {\n\t\t\t\t\t\tp1: 'Greenpeace Svizzera'\n\t\t\t\t\t},\n\t\t\t\t\tblocks: {\n\t\t\t\t\t\tpayment_profile: {\n\t\t\t\t\t\t\temail_permission_info_html: \"<p>Desidero che Greenpeace Svizzera mi informi via e-mail sui progetti in corso.<\/p>\\n\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tamounts: [\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == onetime\",\n\t\t\t\t\t\"then\": [84, 120, 150]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring && recurringInterval() == monthly\",\n\t\t\t\t\t\"then\": [7, 10, 20]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring && recurringInterval() == quarterly\",\n\t\t\t\t\t\"then\": [21,30,60]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring && recurringInterval() == semestral\",\n\t\t\t\t\t\"then\": [42,60,120]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring && recurringInterval() == yearly\",\n\t\t\t\t\t\"then\": [84,120,240]\n\t\t\t\t}\n\t\t\t],\n\t\t\tminimumCustomAmount: [\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == onetime\",\n\t\t\t\t\t\"then\": 7\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring && recurringInterval() == monthly\",\n\t\t\t\t\t\"then\": 5\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring && recurringInterval() == quarterly\",\n\t\t\t\t\t\"then\": 15\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring && recurringInterval() == semestral\",\n\t\t\t\t\t\"then\": 30\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentType() == recurring && recurringInterval() == yearly\",\n\t\t\t\t\t\"then\": 60\n\t\t\t\t}\n\t\t\t],\n\t\t\tcoverFeePercentage: [\n\t\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentMethod() == twint\", \/\/ TWINT\n\t\t\t\t\t\"then\": 2\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentMethod() == card\", \/\/ Credit Card (vis & eca)\n\t\t\t\t\t\"then\": 2\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentMethod() == ch_qr_reference\", \/\/ QR-Bill\n\t\t\t\t\t\"then\": 0\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentMethod() == paypal\", \/\/ PayPal\n\t\t\t\t\t\"then\": 2\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"if\": \"paymentMethod() == direct_debit\", \/\/ DD & LSV\n\t\t\t\t\t\"then\": 0\n\t\t\t\t},\n\t\t\t\t5\n\t\t\t]\n\t\t});\n\n\t\tvar gpchTamaro = gpchTamaro || {};\n\n\t\t\/\/ The currently selected payment method\n\t\tlet tamaroPaymentMethod = null;\n\n\t\t\/\/ True if showing the whole form, false if only the first block\n\t\tlet tamaroFullForm = false;\n\n\t\twindow.rnw.tamaro.events.paymentMethodChanged.subscribe(function (event) {\n\t\t\ttamaroPaymentMethod = event.data.api.paymentForm.data.payment_method;\n\n\t\t\tif (tamaroFullForm) {\n\t\t\t\t\/\/ Hide the cover fees block for payment methods that have 0% fees\n\t\t\t\tif (tamaroPaymentMethod === 'ch_qr_reference' || tamaroPaymentMethod === 'direct_debit') {\n\t\t\t\t\trnw.tamaro.instance.config.forceShowBlocks = {\n\t\t\t\t\t\tpayment_cover_fee: false\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\trnw.tamaro.instance.config.forceShowBlocks = {\n\t\t\t\t\t\tpayment_cover_fee: true\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t}\n\t\t});\n\n\t\tgpchTamaro.callbackBeforePaymentValidateAndSend = function (event) {\n\n\t\t\tvar payment_type = window.rnw.tamaro.instance.paymentForm.data.payment_type;\n\n\t\t\tif (payment_type === 'onetime') {\n\t\t\t\twindow.rnw.tamaro.instance.paymentForm.data.stored_sf_Opportunity_Product__c = window.rnw.tamaro.instance.paymentForm.data.gpch_product;\n\t\t\t\twindow.rnw.tamaro.instance.paymentForm.data.stored_sf_npe03__Recurring_Donation__c_Product__c = '';\n\t\t\t}\n\n\t\t\tif (payment_type === 'recurring') {\n\t\t\t\tif (typeof event.data.api.paymentForm.data.exp !== \"undefined\" && event.data.api.paymentForm.data.exp !== \"\") {\n\t\t\t\t\tconst exp_date = event.data.api.paymentForm.data.exp;\n\t\t\t\t\tconst [exp_month, exp_year] = exp_date.split(\"\/\").map(Number);\n\n\t\t\t\t\t\/\/ exp_year can be yy or yyyy. Add 2000 to a 2 digit year.\n\t\t\t\t\tconst full_year = exp_year < 100 ? 2000 + exp_year : exp_year;\n\n\t\t\t\t\t\/\/ Get the last day of the given month\n\t\t\t\t\tconst last_day = new Date(full_year, exp_month, 0).getDate();\n\n\t\t\t\t\t\/\/ Format as YYYY-MM-DD\n\t\t\t\t\tformatted_exp_date = `${full_year}-${String(exp_month).padStart(2, \"0\")}-${last_day}`;\n\n\t\t\t\t\twindow.rnw.tamaro.instance.paymentForm.data.stored_sf_npe03__Recurring_Donation__c_CC_Exp__c = formatted_exp_date;\n\t\t\t\t}\n\n\t\t\t\twindow.rnw.tamaro.instance.paymentForm.data.stored_sf_npe03__Recurring_Donation__c_Product__c = window.rnw.tamaro.instance.paymentForm.data.gpch_product;\n\t\t\t\twindow.rnw.tamaro.instance.paymentForm.data.stored_sf_Opportunity_Product__c = '';\n\t\t\t}\n\t\t}\n\n\t\twindow.rnw.tamaro.events.beforePaymentValidateAndSend.subscribe(gpchTamaro.callbackBeforePaymentValidateAndSend);\n\n\t\tgpchTamaro.nextStep = function() {\n\t\t\ttamaroFullForm = true;\n\n            rnw.tamaro.instance.config.showBlocks = {\n                slot_custom_fields: true,\n            };\n\t\t\trnw.tamaro.instance.config.forceShowBlocks = {\n\t\t\t\tslot_gpch_next_step_button: false,\n\t\t\t\tpayment_payment_methods: true,\n\t\t\t\tpayment_profile: true,\n\t\t\t\tpayment_address: true,\n\t\t\t\tpayment_cover_fee: true,\n\t\t\t};\n\n\t\t\trnw.tamaro.instance.config.showSubmitButton = true;\n\t\t\trnw.tamaro.instance.config.showFooter = true;\n\t\t}\n\n\t\t\/\/ Generate a gp_user_id from the email address\n\t\tasync function generate_gp_user_id(email) {\n\t\t\tfunction bufferToBase64(buffer) {\n\t\t\t\treturn btoa(String.fromCharCode.apply(null, new Uint8Array(buffer)));\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tconst hashBuffer = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(email));\n\t\t\t\tlet hashString = bufferToBase64(hashBuffer);\n\t\t\t\thashString = hashString.replace(\/\\\/\/g, '');\n\t\t\t\treturn hashString;\n\t\t\t} catch (error) {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t}\n\n\t\t\/\/ DataLayer Event for web analytics\n\t\twindow.rnw.tamaro.events[\"paymentComplete\"].subscribe(async function (event) {\n\t\t\tlet donation_type = \"Single\";\n\t\t\tdonation_frequency = \"One-time\";\n\t\t\tif (event.data.api.paymentForm !== null) {\n\t\t\t\tif (event.data.api.paymentForm.data.payment_type === \"recurring\") {\n\t\t\t\t\tdonation_type = \"Recurring\";\n\t\t\t\t\tdonation_frequency = event.data.api.paymentForm.data.recurring_interval;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst hashed_email = await generate_gp_user_id(event.data.api.paymentForm.data.stored_customer_email);\n\n\t\t\tif (typeof event.data.api.epmsPaymentInfo !== \"undefined\") {\n\t\t\t\t\/\/ Use RaiseNow Hub data\n\t\t\t\tif (event.data.api.epmsPaymentInfo.last_status === \"succeeded\") {\n\t\t\t\t\twindow.dataLayer = window.dataLayer || [];\n\t\t\t\t\twindow.dataLayer.push({\n\t\t\t\t\t\t'event': 'donation_completed',\n\t\t\t\t\t\t'donation_type': donation_type,\n\t\t\t\t\t\t'donation_value': event.data.api.paymentForm.data.amount,\n\t\t\t\t\t\t'donation_currency': event.data.api.paymentForm.data.currency,\n\t\t\t\t\t\t'donation_frequency': donation_frequency,\n\t\t\t\t\t\t'donation_payment_method': event.data.api.paymentForm.data.payment_method,\n\t\t\t\t\t\t'donation_campaign_id': event.data.api.paymentForm.data.stored_campaign_id,\n\t\t\t\t\t\t'donation_product': event.data.api.paymentForm.data.gpch_product,\n\t\t\t\t\t\t'donation_transaction_id': event.data.api.epmsPaymentInfo.uuid,\n\t\t\t\t\t\t'gp_user_id': hashed_email\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t\/\/ Tracks if an observer was already started\n\t\tlet observerStarted = false;\n\n\t\t\/**\n\t\t * Monitors and modifies the content of the widget and modified it in certain conditions:\n\t\t * - When the subscription info is shown: Moves the unsubscribe section to the bottom\n\t\t * - When payment methods are changed and the current method is PostFinance: Remove the current method so it\n\t\t * can't be selected anymore.\n\t\t *\/\n\t\tconst observeWidgetContent = (event) => {\n\t\t\t\/\/ Node to observe\n\t\t\tconst widgetContentElement = document.querySelector(\"#tamaro-widget\");\n\n\t\t\t\/\/ Callback to modify the widget content\n\t\t\tconst modifyWidgetContent = (mutationList, observer) => {\n\t\t\t\tfor (const mutation of mutationList) {\n\t\t\t\t\tif (mutation.type === \"childList\") {\n\t\t\t\t\t\t\/\/ Look for subscription info sections\n\t\t\t\t\t\tconst sections = document.querySelectorAll(\"section.subscription-info .main section\");\n\n\t\t\t\t\t\tif (typeof(sections[0]) !== 'undefined' && sections[0].classList.contains('subscription-details')) {\n\t\t\t\t\t\t\t\/\/ Change element order\n\t\t\t\t\t\t\tsections[2].append(sections[0])\n\n\t\t\t\t\t\t\t\/\/ Adapt styling to new order\n\t\t\t\t\t\t\tsections[0].style.borderTopWidth = '1px';\n\t\t\t\t\t\t\tsections[0].style.marginTop = '1.25rem';\n\t\t\t\t\t\t\tsections[0].style.paddingTop = '1.25rem';\n\t\t\t\t\t\t\tsections[1].style.borderTopWidth = '0';\n\t\t\t\t\t\t\tsections[1].style.marginTop = '0';\n\t\t\t\t\t\t\tsections[1].style.paddingTop = '0';\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Look for PostFinance as current payment method\n\t\t\t\t\t\tconst currentMethodElement = document.querySelector(\"section.update-current-payment-method\");\n\n\t\t\t\t\t\tif (currentMethodElement !== null) {\n\t\t\t\t\t\t\t\/\/ PostFinance button as current payment method\n\t\t\t\t\t\t\tconst pfcButton = currentMethodElement.querySelector(\"button.payment-method.pfc.current\");\n\n\t\t\t\t\t\t\tif (pfcButton !== null) {\n\t\t\t\t\t\t\t\tcurrentMethodElement.style.display = 'none';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (widgetContentElement !== null && observerStarted === false) {\n\t\t\t\t\/\/ Observer config\n\t\t\t\tconst config = { attributes: false, childList: true, subtree: true };\n\n\t\t\t\t\/\/ Create an observer instance linked to the callback function\n\t\t\t\tconst observer = new MutationObserver(modifyWidgetContent);\n\n\t\t\t\t\/\/ Start observing the target node for configured mutations\n\t\t\t\tobserver.observe(widgetContentElement, config);\n\n\t\t\t\tobserverStarted = true;\n\t\t\t}\n\t\t}\n\t\twindow.rnw.tamaro.events.fetchPaymentDataEnd.subscribe(observeWidgetContent);\n\n\t<\/script>\n<\/div>\n\n<\/div>\n\n\n\n<div class=\"wp-block-column is-style-background-1 is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\"><strong>Depuis 55 ans, nous luttons avec d\u00e9termination pour la protection de notre plan\u00e8te:<\/strong><br><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Nous nous opposons \u00e0 l&rsquo;industrie des \u00e9nergies fossiles pour freiner la crise climatique et prot\u00e9ger nos moyens de subsistance.<br><\/li>\n\n\n\n<li>Nous encourageons le d\u00e9veloppement d&rsquo;\u00e9nergies renouvelables s\u00fbres et propres en Suisse et dans le monde entier.<br><\/li>\n\n\n\n<li>Nous luttons pour la protection de nos oc\u00e9ans, de nos for\u00eats et de la biodiversit\u00e9.<br><\/li>\n\n\n\n<li>Nous sommes financi\u00e8rement ind\u00e9pendants des gouvernements et n&rsquo;acceptons pas de dons de soci\u00e9t\u00e9s ou de partis politiques.<br><\/li>\n\n\n\n<li>Dans le monde, 2,8 millions de personnes nous soutiennent, dont plus de 120&rsquo;000 en Suisse.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Faites un don Depuis 55 ans, nous luttons avec d\u00e9termination pour la protection de notre plan\u00e8te:<\/p>\n","protected":false},"author":99,"featured_media":70225,"parent":32627,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_planet4_optimize_post_is_variant":false,"_planet4_optimize_experiment_name":"","_planet4_optimize_variant_name":"","ep_exclude_from_search":false,"p4_hide_page_title_checkbox":"on","p4_title":"","p4_subtitle":"","p4_description":"","background_image_id":"","background_image":"","p4_button_title":"","p4_button_link":"","p4_button_link_checkbox":"","p4_og_title":"","p4_og_description":"","p4_og_image":"","p4_og_image_id":"","p4_seo_canonical_url":"","p4_campaign_name":"not set","p4_local_project":"not set","p4_basket_name":"not set","p4_department":"","footnotes":""},"categories":[124],"tags":[56],"class_list":["post-81674","page","type-page","status-publish","has-post-thumbnail","hentry","category-meer-fr","tag-oceans"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/pages\/81674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/users\/99"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/comments?post=81674"}],"version-history":[{"count":15,"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/pages\/81674\/revisions"}],"predecessor-version":[{"id":133644,"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/pages\/81674\/revisions\/133644"}],"up":[{"embeddable":true,"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/pages\/32627"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/media\/70225"}],"wp:attachment":[{"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/media?parent=81674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/categories?post=81674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greenpeace.ch\/fr\/wp-json\/wp\/v2\/tags?post=81674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}