{"id":3061,"date":"2022-12-01T19:00:42","date_gmt":"2022-12-01T18:00:42","guid":{"rendered":"https:\/\/lloc.de\/?p=3061"},"modified":"2022-12-01T19:00:42","modified_gmt":"2022-12-01T18:00:42","slug":"nowpayments-integration","status":"publish","type":"post","link":"https:\/\/ploetner.io\/de\/nowpayments-integration\/","title":{"rendered":"NOWPayments Integration"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Weil wir gerade beim Thema <a href=\"https:\/\/ploetner.io\/de\/raise-the-bar-mein-vortrag-wordcamp-italia-2022\/\">Tests und statischer Analyse des Quellcodes<\/a> waren. Ich arbeite gern immer mal an Projekten, wo mich bestimmte Aspekte ganz pers\u00f6nlich interessieren. Im Fall der <strong>NOWPayments Integration<\/strong> finde ich einerseits die API f\u00fcr das Bezahlen bzw. automatische Umwandeln in Krypto-Tokens wert, einen genaueren Blick auf die L\u00f6sung zu werfen. Andererseits sind genau diese privaten Vorhaben immer gute Kandidaten, um Tools und Ideen zu testen, ohne das ein PM gleich was zu meckern hat.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Falls das Interesse besteht, der Entwicklung des Projektes zu folgen, hier der <strong>Link zum Repository<\/strong>: <a href=\"https:\/\/github.com\/lloc\/wp-nowpayments-integration\">wp-nowpayments-integration<\/a>. Die Integration der API ist weitestgehend abgeschlossen. Ich habe geplant, noch einige Gutenberg Bl\u00f6cke zu bauen, um die Einbindung in WordPress Blogs zu erleichtern. Au\u00dferdem will ich die Integration auch zu einem WooCommerce Payment Gateway ausbauen. Es gibt aber bereits einige interessante Dinge, die schon eingebaut sind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr Entwickler sind wahrscheinlich die <strong>UnitTests<\/strong> mit <a href=\"https:\/\/brain-wp.github.io\/BrainMonkey\/\">Brain Monkey<\/a> interessant. Die 100%ige Abdeckung der Quellen zeigt, was mit dem <strong>Framework<\/strong> m\u00f6glich ist. Au\u00dferdem habe ich <a href=\"https:\/\/phpstan.org\/\">PHPStan<\/a> als <strong>statisches Analysetool<\/strong> in die Abh\u00e4ngigkeiten des Projektes getan. Um die <strong>Klassendiagramme mittels PlantUML<\/strong> zu visualisieren, habe ich <a href=\"https:\/\/github.com\/smeghead\/php-class-diagram\">ein weiteres Github-Projekt<\/a> als Projekt-Abh\u00e4ngigkeit in die Composer-Konfiguration eingebunden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Um diese Tasks schnell ausf\u00fchren zu k\u00f6nnen, sind sie als Composer Skripten definiert:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer test \/\/ UnitTests aufrufen\ncomposer coverage \/\/ UniTests und Abdeckung der Quellen\ncomposer analyze \/\/ statische Analyse der Quellen\ncomposer diagram \/\/ PlantUML f\u00fcr Diagram erstellen<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Have fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Weil wir gerade beim Thema Tests und statischer Analyse des Quellcodes waren. Ich arbeite gern immer mal an Projekten, wo mich bestimmte Aspekte ganz pers\u00f6nlich interessieren. Im Fall der NOWPayments Integration finde ich einerseits die API f\u00fcr das Bezahlen bzw. automatische Umwandeln in Krypto-Tokens wert, einen genaueren Blick auf die L\u00f6sung zu werfen. Andererseits sind &hellip; <a href=\"https:\/\/ploetner.io\/de\/nowpayments-integration\/\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eNOWPayments Integration\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":6272,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"wpf_show_in_dewp_planet_feed":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[3,7],"tags":[8,13,22,23],"class_list":["post-3061","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-wordpress","tag-brain-monkey","tag-github","tag-phpstan","tag-phpunit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>NOWPayments Integration - realloc&#039;s asylum<\/title>\n<meta name=\"description\" content=\"Private Projekte wie die NOWPayments Integration in WordPress sind gute Kandidaten, um Tools und neue Ideen auszuprobieren.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ploetner.io\/de\/nowpayments-integration\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NOWPayments Integration - realloc&#039;s asylum\" \/>\n<meta property=\"og:description\" content=\"Private Projekte wie die NOWPayments Integration in WordPress sind gute Kandidaten, um Tools und neue Ideen auszuprobieren.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ploetner.io\/de\/nowpayments-integration\/\" \/>\n<meta property=\"og:site_name\" content=\"realloc&#039;s asylum\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-01T18:00:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/12\/Screenshot-from-2022-12-01-18-55-34-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1834\" \/>\n\t<meta property=\"og:image:height\" content=\"1578\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"realloc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"realloc\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/\"},\"author\":{\"name\":\"realloc\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#\\\/schema\\\/person\\\/571f8ada841cca782e8001b942e032c8\"},\"headline\":\"NOWPayments Integration\",\"datePublished\":\"2022-12-01T18:00:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/\"},\"wordCount\":222,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#\\\/schema\\\/person\\\/571f8ada841cca782e8001b942e032c8\"},\"image\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/12\\\/Screenshot-from-2022-12-01-18-55-34-1.png\",\"keywords\":[\"Brain Monkey\",\"GitHub\",\"PHPStan\",\"phpunit\"],\"articleSection\":[\"Code\",\"WordPress\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/\",\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/\",\"name\":\"NOWPayments Integration - realloc&#039;s asylum\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/12\\\/Screenshot-from-2022-12-01-18-55-34-1.png\",\"datePublished\":\"2022-12-01T18:00:42+00:00\",\"description\":\"Private Projekte wie die NOWPayments Integration in WordPress sind gute Kandidaten, um Tools und neue Ideen auszuprobieren.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/12\\\/Screenshot-from-2022-12-01-18-55-34-1.png\",\"contentUrl\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/12\\\/Screenshot-from-2022-12-01-18-55-34-1.png\",\"width\":1834,\"height\":1578},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/nowpayments-integration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ploetner.io\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NOWPayments Integration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/\",\"name\":\"realloc's asylum\",\"description\":\"Software Developer &amp; WordPress Enthusiast | Born in Germany. Reborn in Italy.\",\"publisher\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#\\\/schema\\\/person\\\/571f8ada841cca782e8001b942e032c8\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ploetner.io\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/#\\\/schema\\\/person\\\/571f8ada841cca782e8001b942e032c8\",\"name\":\"realloc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/11\\\/52602486_10215993351498483_6040822616506236928_n.jpg\",\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/11\\\/52602486_10215993351498483_6040822616506236928_n.jpg\",\"contentUrl\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/11\\\/52602486_10215993351498483_6040822616506236928_n.jpg\",\"width\":847,\"height\":848,\"caption\":\"realloc\"},\"logo\":{\"@id\":\"https:\\\/\\\/ploetner.io\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/7\\\/sites\\\/8\\\/2022\\\/11\\\/52602486_10215993351498483_6040822616506236928_n.jpg\"},\"description\":\"Software Developer &amp; WordPress Enthusiast | Born in Germany. Reborn in Italy.\",\"sameAs\":[\"https:\\\/\\\/ploetner.io\\\/\"],\"url\":\"https:\\\/\\\/ploetner.io\\\/de\\\/author\\\/realloc\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NOWPayments Integration - realloc&#039;s asylum","description":"Private Projekte wie die NOWPayments Integration in WordPress sind gute Kandidaten, um Tools und neue Ideen auszuprobieren.","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:\/\/ploetner.io\/de\/nowpayments-integration\/","og_locale":"de_DE","og_type":"article","og_title":"NOWPayments Integration - realloc&#039;s asylum","og_description":"Private Projekte wie die NOWPayments Integration in WordPress sind gute Kandidaten, um Tools und neue Ideen auszuprobieren.","og_url":"https:\/\/ploetner.io\/de\/nowpayments-integration\/","og_site_name":"realloc&#039;s asylum","article_published_time":"2022-12-01T18:00:42+00:00","og_image":[{"width":1834,"height":1578,"url":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/12\/Screenshot-from-2022-12-01-18-55-34-1.png","type":"image\/png"}],"author":"realloc","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"realloc","Gesch\u00e4tzte Lesezeit":"2\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/#article","isPartOf":{"@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/"},"author":{"name":"realloc","@id":"https:\/\/ploetner.io\/de\/#\/schema\/person\/571f8ada841cca782e8001b942e032c8"},"headline":"NOWPayments Integration","datePublished":"2022-12-01T18:00:42+00:00","mainEntityOfPage":{"@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/"},"wordCount":222,"commentCount":0,"publisher":{"@id":"https:\/\/ploetner.io\/de\/#\/schema\/person\/571f8ada841cca782e8001b942e032c8"},"image":{"@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/#primaryimage"},"thumbnailUrl":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/12\/Screenshot-from-2022-12-01-18-55-34-1.png","keywords":["Brain Monkey","GitHub","PHPStan","phpunit"],"articleSection":["Code","WordPress"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ploetner.io\/de\/nowpayments-integration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/","url":"https:\/\/ploetner.io\/de\/nowpayments-integration\/","name":"NOWPayments Integration - realloc&#039;s asylum","isPartOf":{"@id":"https:\/\/ploetner.io\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/#primaryimage"},"image":{"@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/#primaryimage"},"thumbnailUrl":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/12\/Screenshot-from-2022-12-01-18-55-34-1.png","datePublished":"2022-12-01T18:00:42+00:00","description":"Private Projekte wie die NOWPayments Integration in WordPress sind gute Kandidaten, um Tools und neue Ideen auszuprobieren.","breadcrumb":{"@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ploetner.io\/de\/nowpayments-integration\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/#primaryimage","url":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/12\/Screenshot-from-2022-12-01-18-55-34-1.png","contentUrl":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/12\/Screenshot-from-2022-12-01-18-55-34-1.png","width":1834,"height":1578},{"@type":"BreadcrumbList","@id":"https:\/\/ploetner.io\/de\/nowpayments-integration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ploetner.io\/de\/"},{"@type":"ListItem","position":2,"name":"NOWPayments Integration"}]},{"@type":"WebSite","@id":"https:\/\/ploetner.io\/de\/#website","url":"https:\/\/ploetner.io\/de\/","name":"realloc's asylum","description":"Software Developer &amp; WordPress Enthusiast | Born in Germany. Reborn in Italy.","publisher":{"@id":"https:\/\/ploetner.io\/de\/#\/schema\/person\/571f8ada841cca782e8001b942e032c8"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ploetner.io\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":["Person","Organization"],"@id":"https:\/\/ploetner.io\/de\/#\/schema\/person\/571f8ada841cca782e8001b942e032c8","name":"realloc","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/11\/52602486_10215993351498483_6040822616506236928_n.jpg","url":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/11\/52602486_10215993351498483_6040822616506236928_n.jpg","contentUrl":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/11\/52602486_10215993351498483_6040822616506236928_n.jpg","width":847,"height":848,"caption":"realloc"},"logo":{"@id":"https:\/\/ploetner.io\/de\/wp-content\/uploads\/sites\/7\/sites\/8\/2022\/11\/52602486_10215993351498483_6040822616506236928_n.jpg"},"description":"Software Developer &amp; WordPress Enthusiast | Born in Germany. Reborn in Italy.","sameAs":["https:\/\/ploetner.io\/"],"url":"https:\/\/ploetner.io\/de\/author\/realloc\/"}]}},"_links":{"self":[{"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/posts\/3061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/comments?post=3061"}],"version-history":[{"count":0,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/posts\/3061\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/media\/6272"}],"wp:attachment":[{"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/media?parent=3061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/categories?post=3061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ploetner.io\/de\/wp-json\/wp\/v2\/tags?post=3061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}