{"id":2698,"date":"2021-07-12T22:19:37","date_gmt":"2021-07-12T20:19:37","guid":{"rendered":"https:\/\/coincharge.os24.work\/accept-payment-with-woocommerce-lightning\/"},"modified":"2021-07-29T16:50:42","modified_gmt":"2021-07-29T14:50:42","slug":"woocommerce-lightning","status":"publish","type":"post","link":"https:\/\/coincharge.io\/en\/woocommerce-lightning\/","title":{"rendered":"Accept payment with WooCommerce Lightning"},"content":{"rendered":"<div class=\"wpb-content-wrapper\">[vc_row][vc_column][vc_row_inner][vc_column_inner][vc_column_text]\n<div class=\"vc_row wpb_row vc_row-fluid\">\n<div class=\"wpb_column vc_column_container vc_col-sm-12\">\n<div class=\"vc_column-inner\">\n<div class=\"wpb_wrapper\">\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<h2>How to accept payment with WooCommerce Lightning<\/h2>\n<p>Accept payment with WooCommerce Lightning. If you run an online store based on WooCommerce, you can accept Bitcoin and Lightning payments.<\/p>\n<p>&nbsp;<\/p>\n<p>For instructions on how to accept Bitcoin payments with WooCommerce, check out the post: &#8220;<a class=\"rank-math-link\" href=\"https:\/\/coincharge.io\/en\/bitcoin-woocommerce\/\">Accept Bitcoin Payments with WooCommerce<\/a>&#8220;.<\/p>\n<p>&nbsp;<\/p>\n<p>If you are using a Lightning implementation based on lnd (Lightning Labs), then the above post is recommended. Because the WooCommerce plugin BTCPay fo WooCommerce supports lnd Lightning in addition to Bitcoin.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<p>However, you can also offer both variants in your online store. In the beverage store <a href=\"http:\/\/store.coincharge.io\/\">http:\/\/store.coincharge.io\/<\/a>, the customer will find Bitcoin and Lightning options when selecting payment options.<\/p>\n<p>If he chooses Bitcoin, Bitcoin will be displayed as the default. However, the customer can also switch to Lightning within the payment page. However, the customer can also choose Lightning directly, in which case the payment page based on C-Lightning will be used.<\/p>\n<\/div>\n<\/div>\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<p>When paying, the end customer has the alternative on the payment page, between Bitcoin and Lightning payment. It can be selected on the payment page:<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n[\/vc_column_text][vc_single_image image=&#8221;2715&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][\/vc_column_inner][\/vc_row_inner][vc_row_inner][vc_column_inner][vc_column_text]\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<h2>WooCommerce mit c-lightning<\/h2>\n<p>Besides the Lightning implementation lnd there is also the implementation of c-lightning. If you are using a c-lightning implementation, then you can use that under WooCommerce as well.<\/p>\n<p>However, another plugin must be used here. The WooCommerce plugin by C-Lightning can be obtained exclusively from the Github page. To do this, go to the page: <a href=\"https:\/\/github.com\/ElementsProject\/woocommerce-gateway-lightning\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/ElementsProject\/woocommerce-gateway-lightning<\/a> and download the pugin named woocommerce-gateway-lightning.zip. After that you go to WordPress under Plugins and Upload Plugin and then install the zip file.<\/p>\n<p>If you installed and activated it correctly, then under WooCommerce &gt; settings &gt; payments you will find the Lightning payment method listed:<\/p>\n<\/div>\n<\/div>\n[\/vc_column_text][vc_single_image image=&#8221;2713&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<p>In order for our store to communicate with our C-Lightning Node, we click on Configuration and need to store the address of the Lightning Charge Server and the Lightning Charge API token.<\/p>\n<\/div>\n<\/div>\n[\/vc_column_text][vc_single_image image=&#8221;2711&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<p>In order to be able to enter the appropriate details in WooCommerce, we go to our BTCPay server in the Server Settings section and then Service. There we click at C-Lightning (Charge Server) on See Information.<\/p>\n<\/div>\n<\/div>\n[\/vc_column_text][vc_single_image image=&#8221;2709&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<p>On this page, under Credentials, you will find the required information that will be inserted into the WooCommerce fields:<\/p>\n<ul>\n<li>Uri<\/li>\n<li>APIToken<\/li>\n<li>AuthenticatedUri<\/li>\n<\/ul>\n<\/div>\n<\/div>\n[\/vc_column_text][vc_single_image image=&#8221;2707&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<p>The details of the APIToken go into the WooCommerce field labeled Lightning Charge API token.<\/p>\n<p>The AuthenticatedUri information is placed in the Lightning Charge server field.<\/p>\n<\/div>\n<\/div>\n[\/vc_column_text][vc_single_image image=&#8221;2705&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_row_inner][vc_column_inner][vc_column_text]\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<h2>WooCommerce Kasse<\/h2>\n<p>We go to the page <a href=\"http:\/\/store.coincharge.io\/\">http:\/\/store.coincharge.io<\/a> and check if everything has been set properly. We put a few drinks in the shopping cart and head to the checkout.<\/p>\n<p>In the checkout, the customer now gets the option to pay with Bitcoin or with Bitcoin Lightning.<\/p>\n<\/div>\n<\/div>\n[\/vc_column_text][vc_single_image image=&#8221;2703&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<p>Now we also want to try out whether the Lightning payment works and click on &#8220;Proceed to Lightning payment&#8221;.<\/p>\n<p>We arrive at the &#8220;Pay with Lightning&#8221; payment page. Here the customer gets two options connected.<\/p>\n<p>He can scan the QR code with his Mobile Lightning Wallet or copy the Lightning bill and pay via his Desktop Lightning Wallet.<\/p>\n<p>You can find an overview of the most important <a href=\"https:\/\/coincharge.io\/en\/lightning-wallet\/\">Mobile Lightning Wallets<\/a> on the Mobile Lightning Wallets page and from there there are links to the individual Lightning Wallets with instructions for installation and applications.<\/p>\n<p>If you use a desktop lightning wallet or want to pay the bill via <a href=\"https:\/\/coincharge.io\/en\/ride-the-lightning\/\">Ride The Lightning (RTL)<\/a>, then copy and paste the entire text into the appropriate place on your wallet.<\/p>\n<p>We use the Lightning Wallet from <a href=\"https:\/\/coincharge.io\/en\/wallet-of-satoshi\/\">Wallet of Satoshi<\/a> and pay the Lightning bill via the QR code.<\/p>\n<\/div>\n<\/div>\n[\/vc_column_text][vc_single_image image=&#8221;2701&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]\n<div class=\"vc_row wpb_row vc_row-fluid\">\n<div class=\"wpb_column vc_column_container vc_col-sm-12\">\n<div class=\"vc_column-inner\">\n<div class=\"wpb_wrapper\">\n<div class=\"wpb_text_column wpb_content_element \">\n<div class=\"wpb_wrapper\">\n<p>The equivalent of 60 euro cents is 7,398 sats and an additional fee of 1 satoshi is incurred.<\/p>\n<p>Thus, the payment is almost free and credited to the account (Lightning Node) with the merchant within a second.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row]\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_row_inner][vc_column_inner][vc_column_text] How to accept payment with WooCommerce Lightning Accept payment with WooCommerce Lightning. If you run an online store based [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[52],"tags":[],"class_list":["post-2698","post","type-post","status-publish","format-standard","hentry","category-btcpay-en"],"_links":{"self":[{"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/posts\/2698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/comments?post=2698"}],"version-history":[{"count":25,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/posts\/2698\/revisions"}],"predecessor-version":[{"id":5941,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/posts\/2698\/revisions\/5941"}],"wp:attachment":[{"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/media?parent=2698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/categories?post=2698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coincharge.io\/en\/wp-json\/wp\/v2\/tags?post=2698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}