Skip to content

Commit

Permalink
repair html entity encoding by wordpress for key option field
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Olbertz committed Jul 15, 2024
1 parent 8ea1e07 commit 3c2a7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payone/Payone/Api/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function get_key() {
* @return Request
*/
public function set_key( $key ) {
$this->set( 'key', hash( 'sha384', $key ) );
$this->set( 'key', hash( 'sha384', html_entity_decode( $key ) ) );

return $this;
}
Expand Down

0 comments on commit 3c2a7c3

Please sign in to comment.