{"id":49173,"date":"2016-06-21T00:19:25","date_gmt":"2016-06-21T00:19:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-consent-receipt\/"},"modified":"2019-07-16T15:02:19","modified_gmt":"2019-07-16T15:02:19","slug":"wp-consent-receipt","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-consent-receipt\/","author":14381767,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.28","stable_tag":"0.28","tested":"5.2.24","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"WP Consent Receipt","header_author":"Oliver Maerz","header_description":"","assets_banners_color":"5e5846","last_updated":"2019-07-16 15:02:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/olivermaerz.github.io\/wp-consent-receipt\/","header_author_uri":"http:\/\/www.olivermaerz.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1008,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.21":"<p>Initial stable release<\/p>","0.23":"<ul>\n<li>New JSON field names, matches the updated spec from Kantara Initiative<\/li>\n<\/ul>","0.24":"<ul>\n<li>Support for Consent Receipt spec 0.8 from Kantara Initiative<\/li>\n<li>New mode 1 receip<\/li>\n<\/ul>","0.25":"<ul>\n<li>Bug fix<\/li>\n<\/ul>","0.26":"<ul>\n<li>Bug fix for from address when email receipt<\/li>\n<\/ul>","0.27":"<ul>\n<li>Improved visual display of consent receipt (mode 1)<\/li>\n<\/ul>","0.28":"<ul>\n<li>Bugfix i18n<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1440551","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1440551","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1440551","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1440547","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.21","0.23","0.24","0.25","0.26","0.27","0.28"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Receipt"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[68132,396],"plugin_category":[],"plugin_contributors":[130147],"plugin_business_model":[],"class_list":["post-49173","plugin","type-plugin","status-publish","hentry","plugin_tags-consent-receipt","plugin_tags-privacy","plugin_contributors-olivermaerz","plugin_committers-olivermaerz"],"banners":{"banner":"https:\/\/ps.w.org\/wp-consent-receipt\/assets\/banner-772x250.png?rev=1440547","banner_2x":"https:\/\/ps.w.org\/wp-consent-receipt\/assets\/banner-1544x500.png?rev=1440551","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-consent-receipt\/assets\/icon-128x128.png?rev=1440551","icon_2x":"https:\/\/ps.w.org\/wp-consent-receipt\/assets\/icon-256x256.png?rev=1440551","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A Consent Receipt plugin for Wordpress. The WP Consent Receipt plugin can be called from themes and other plugins via the wp_consent_receipt_button filter hook:<\/p>\n\n<pre><code>if (has_filter('wp_consent_receipt_button')) {\n    $html = apply_filters('wp_consent_receipt_button', $html, $consentReceiptData);\n}\n<\/code><\/pre>\n\n<p>This implementation of the Consent Receipt is based on the specifcation of the Kantara Initiative - Consent &amp; Information Sharing Work Group. For more information about the Consent Receipt and for the latest specification see: http:\/\/kantarainitiative.org\/confluence\/display\/infosharing\/Consent+Receipt+Specification<\/p>\n\n<h3>Arbitrary section<\/h3>\n\n<p>The WP Consent Receipt plugin can be called from themes and other plugins via the wp_consent_receipt_button filter hook:<\/p>\n\n<pre><code>if (has_filter('wp_consent_receipt_button')) {\n    $html = apply_filters('wp_consent_receipt_button', $html, $consentReceiptData);\n}\n<\/code><\/pre>\n\n<p>Example data for the $consentReceiptData associative array:<\/p>\n\n<pre><code>$consentReceiptData = array(\n\n    \/\/ 0: Version\n    'version' =&gt; '0.8',\n\n    \/\/ 1: This is the legal jurisdiction under which the processing of personal data occurs (MUST)\n    'jurisdiction' =&gt; 'US', \n\n    \/\/ 2: Timestamp of when the consent was issued (MUST)\n    'iat' =&gt; time(), \n\n    \/\/ 3: Is used to describe how the consent was collected i.e. webform opt in, or implicit, verbal (MUST)\n    'moc' =&gt; 'web form', \n\n    \/\/ 4: Unique identifier for this consent receipt (MUST)\n    'jti' =&gt; '', \/\/ will be filled in by plugin \n\n    \/\/ 5: public key url\n    'publicKey' =&gt; get_site_url() . '\/?cr_public_key=true',\n\n    \/\/ 6: The identity and company of the data controller and any party nominated to be data controller on behalf of org (MUST)\n    'dataController' =&gt; array(\n        'onBehalf' =&gt; false,\n        'contact' =&gt; 'John Doe',\n        'company' =&gt; 'Kantara Initiative, Inc.',\n        'address' =&gt; '401 Edgewater Place, Suite 600, Wakefield, MA, 01880 USA',\n        'email' =&gt; 'privacy-controller@kantarainitiative.org',\n        'phone' =&gt; '+1 123-456-7890',\n    ),\n\n    \/\/ 13: the internet and immediately accessible privacy policy of the service referred to by the receipt (MUST)\n    'policyUri' =&gt; $group-&gt;policy_url, \n\n    \/\/ 14: Name of the service that requires personal information.\n    'services' =&gt; array(\n        array(\n            'serviceName' =&gt; 'Kantara Initiative ' . $group-&gt;group_name,\n            'purposes' =&gt; array(\n                array(  \n                    'purpose' =&gt; 'Authority to sign Participation Agreement',\n                    'consentType'  =&gt; 'Explicit',\n                    'purposeCategory' =&gt; array(\n                        'Affiliation',\n                    ),\n                    'piiCategory' =&gt; array(\n                        'Membership',\n                    ),\n                    'nonCorePurpose' =&gt; false,\n                    'purposeTermination' =&gt; $group-&gt;policy_url,\n                    'thirdPartyDisclosure' =&gt; false,\n                ),\n                array(\n                    'purpose' =&gt; 'Voting Status',\n                    'consentType'  =&gt; 'Explicit',\n                    'purposeCategory' =&gt; array(\n                        'Core Function', \n                    ),\n                    'piiCategory' =&gt; array(\n                        'Membership',\n                    ),\n                    'nonCorePurpose' =&gt; true,\n                    'purposeTermination' =&gt; '(when no activity)',\n                    'thirdPartyDisclosure' =&gt; false,\n                ),\n                array(\n                    'purpose' =&gt; 'Agree to IPR Policy',\n                    'consentType'  =&gt; 'Explicit',\n                    'purposeCategory' =&gt; array(\n                        'Core Function', \n                    ),\n                    'piiCategory' =&gt; array(\n                        'Membership',\n                    ),\n                    'nonCorePurpose' =&gt; false,\n                    'purposeTermination' =&gt; 'staff@kantarainitiative.org',\n                    'thirdPartyDisclosure' =&gt; false,\n                ),\n                array(\n                    'purpose' =&gt; 'Web statistics',\n                    'consentType'  =&gt; 'Explicit',\n                    'purposeCategory' =&gt; array(\n                        'Improve Performance', \n                    ),\n                    'piiCategory' =&gt; array(\n                        'Network\/Service',\n                    ),\n                    'nonCorePurpose' =&gt; false,\n                    'purposeTermination' =&gt; 'staff@kantarainitiative.org',\n                    'thirdPartyDisclosure' =&gt; true,\n                    '3rdPartyName' =&gt; 'Google',\n                ),\n            ),\n        ),\n    ),\n\n    \/\/ 21: Subject provided identifier, email address - or Claim, defined\/namespaced    (MUST)\n    'sub' =&gt; 'jane.doe@gmail.xyz', \n\n    \/\/ 23: Sensitive Data Y\/N (MUST)\n    'sensitive' =&gt; false,\n\n    \/\/ 24: Category for Sensitive Information collection (MUST)\n    'spiCat' =&gt; array(\n        \/\/emtpy\n    ),\n\n\n); \/\/ End consentReceiptData array\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/wp-consent-receipt<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Call the plugin from your theme or other plugin via the wp_consent_receipt_button filter hook (see Other Notes tab).<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can I use the plugin?<\/dt>\n<dd><p>The WP Consent Receipt plugin can be called from themes and other plugins via the wp_consent_receipt_button filter hook:<\/p>\n\n<pre><code>if (has_filter('wp_consent_receipt_button')) {\n    $html = apply_filters('wp_consent_receipt_button', $html, $consentReceiptData);\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.21<\/h4>\n\n<ul>\n<li>Initial Version<\/li>\n<\/ul>\n\n<h4>0.22<\/h4>\n\n<ul>\n<li>Minor bugfixes<\/li>\n<\/ul>\n\n<h4>0.23<\/h4>\n\n<ul>\n<li>New JSON field names, matches the updated spec from Kantara Initiative<\/li>\n<\/ul>\n\n<h4>0.24<\/h4>\n\n<ul>\n<li>Support for Consent Receipt spec 0.8 from Kantara Initiative<\/li>\n<li>New mode 1 receipt (=visual display for end user) - work in progress<\/li>\n<\/ul>\n\n<h4>0.25<\/h4>\n\n<ul>\n<li>Bug fix<\/li>\n<\/ul>\n\n<h4>0.26<\/h4>\n\n<ul>\n<li>Bug fix for from address when email receipt <\/li>\n<\/ul>\n\n<h4>0.27<\/h4>\n\n<ul>\n<li>Improved visual display of consent receipt (mode 1)<\/li>\n<\/ul>\n\n<h4>0.28<\/h4>\n\n<ul>\n<li>Bugfix i18n<\/li>\n<\/ul>","raw_excerpt":"A Consent Receipt plugin for Wordpress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49173"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/olivermaerz"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49173"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49173"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49173"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49173"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49173"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}