Giter Club home page Giter Club logo

woocommerce-gateway-lightning's People

Contributors

niftynei avatar shesek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

woocommerce-gateway-lightning's Issues

The plugin was not activated

Woocommerce

The plugin was not activated, because it caused a fatal error.
Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) in /home/user2040175/www/d0015477.atservers.net/wp-content/plugins/woocommerce-gateway-lightning/woocommerce-gateway-lightning.php on line 224

Add lightning-network as a topic to this repository

Hello,

This repository is listed on the Awesome Lightning-Network list, which is a collection of useful lightning-network projects. However, it seems that the 'lightning-network' topic is missing from this repository's topics.

Adding the 'lightning-network' topic will help users discover your project more easily and recognize its relevance to the lightning-network ecosystem. To add the topic, please follow these steps:

  1. Navigate to the main page of the repository.
  2. Click on the gear icon next to "About" on the right side of the page.
  3. In the "Topics" section, type 'lightning-network' and press Enter.
  4. Click "Save changes."

Thank you for your attention and for contributing to the lightning-network community!

unhelpfull error message when php curl not installed

When php-curl ist not installed proceeding to payment yields the following error message:

Internal Server Error

The apache error log referes to php-restclient/restclient.php line 135. This call to curl should be wrapped into try catch and yield a helpfull error message. However I cannot find the referenced file in the git repo (so I could not look into the source code)

[Fri Jan 26 00:15:53.203187 2018] [:error] [pid 3167] [client ::1:36028] PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/html/wordpress/wp-content/plugins/woocommerce-gateway-lightning/vendor/tcdent/php-restclient/restclient.php:135\nStack trace:\n#0 /var/www/html/wordpress/wp-content/plugins/woocommerce-gateway-lightning/vendor/tcdent/php-restclient/restclient.php(113): RestClient->execute('/invoice', 'POST', '{"currency":"BT...', Array)\n#1 /var/www/html/wordpress/wp-content/plugins/woocommerce-gateway-lightning/vendor/elementsproject/lightning-charge-client-php/client.php(22): RestClient->post('/invoice', '{"currency":"BT...', Array)\n#2 /var/www/html/wordpress/wp-content/plugins/woocommerce-gateway-lightning/woocommerce-gateway-lightning.php(114): LightningChargeClient->invoice(Array)\n#3 /var/www/html/wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(804): WC_Gateway_Lightning->process_payment(10)\n#4 /var/www/html/wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(986): WC_Checkout->process_order_payment(10, 'lightning' in /var/www/html/wordpress/wp-content/plugins/woocommerce-gateway-lightning/vendor/tcdent/php-restclient/restclient.php on line 135, referer: http://localhost/wordpress/index.php/checkout/

This is particular important for the people who are running on managed hosting and have no access to error logs and can't know if php curl is installed.

Failed saving invoice

Lightningd is running and Charged is running as well. Charged shows HTTP server running on localhost:9112. My router port is open, and the lightning charge server on the plugin settings page points to my ip:9112.

However, when I try to create a payment using LN, Woocommerce shows failed saving invoice

Error in doing lighting charge payment

I am getting following error while doing payment for generated invoice by lightning charge api.
"This is not a valid bitcoin address".
We are doing payment using this app : Eclair Wallet Testnet
https://play.google.com/store/apps/details?id=fr.acinq.eclair.wallet&hl=en

Also here we have attached generated invoice address by plugin.

screenshot from 2018-02-13 18-58-09

Can you help us to figure out what we are doing wrong ? Also we have set up c - lightning and lightning charge on our local server.

Thanks.

Is this thing working?

Is this thing working?
Latelly with new versions of Woo, I'm unable to receive payments. It says "failed saving invoice".

Lightning payment complete, but Charge didn't register it?

@weex grabbed me on IRC; he paid but the UI was still spinning.

I checked the server, it has indeed been paid:

lightning-cli --lightning-dir ~/.lightning/mainnet/ listinvoice | grep c65791aab5ba8aed9b85b188bd6b7d5cb70238026f54d2d1a70c797ad8d9465e
	{ "label" : "gjxvasjiIwZb1H13wXgG7", "payment_hash" : "c65791aab5ba8aed9b85b188bd6b7d5cb70238026f54d2d1a70c797ad8d9465e", "msatoshi" : 212434387, "complete" : true, "pay_index" : 3, "msatoshi_received" : 212434387, "expiry_time" : 1516159063 }, 

In case it was just that the gui was stuck I told him to reload, but no joy:

https://twitter.com/weex/status/953488332649984000

He also hasn't received the conf. mail, so I think something is stuck?

QA code image doesn't appear - 402 error

Hi, I am trying to use the Lightning Payment Gateway and the invoice is working fine, however the QR code no longer appears. The console is giving me a 402 error which is unusual. I am using the Divi theme but previously did not have issues. Any idea what this could be?
console 402 error
missing image

Suggestion : WHMCS Gateway

Would be interesting to integrate Lighting for WHMCS
Would be happy to test on a micropayment product like vpn.ht

Let me know

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.