mishochu Developer Fra United States Medlem siden mishochu 1 aug. 2022 04:19 I just created an add-on for [url=https://btcpayserver.org/]BTCPayServer[/url]. It's a payment system for self-hosted Bitcoin payment. I view it as a great alternative to having to use third-party systems like Coinbase or Bitpay to operate a business that accepts crytpocurrencies. I view Litecart very highly and think this addition could highlight a much simpler tool than Wordpress/Woocommerce.
fame LiteCart Fan Fra Iceland Medlem siden fame 11 mars 2024 11:08 Hello mishochu. Thank you for having created this add-on https://www.litecart.net/en/addons/469/btcpayserver May I ask you if the add-on is still working? Thank you.
mishochu Developer Fra United States Medlem siden mishochu 11 mars 2024 17:42 That's a really interesting way to word that question. Are you having any issues with it?
fame LiteCart Fan Fra Iceland Medlem siden fame 11 mars 2024 17:52 Thank you for your reply. No issues. I was just wondering if it is still working or maintained. I will try soon and let you know my findings. Sorry for bumping, I was just excited that this add-on exists. Please forgive my naive question and have a great day. Thank you.
rob Designer Fra Netherlands Medlem siden rob 14 mars 2024 18:12 Is the app still working i got the server setup but can't get it to work.. Maby a clean walktrue how to make it work ?
mishochu Developer Fra United States Medlem siden mishochu 14 mars 2024 21:09 @rob have you configured the module with your store ID, URL and access token?
rob Designer Fra Netherlands Medlem siden rob 14 mars 2024 23:24 Got all setup but sems not to work the blockchain is sycned i can not find what sould be the right url and the token Site id was a easy one but the rest i am stil puzzeling. I would make sense it is under acces tokens. So my quest is [ol] [li]Find the right btc pay server url [/li] [li]And acces token [/li] [/ol] Been looking at few youtube but there is not much out there for litecart
mishochu Developer Fra United States Medlem siden mishochu 16 mars 2024 01:46 The BTCPayServer URL should be your public facing URL for your specific BTCPayServer instance. You are not "all setup" if you have not configured an access token or set the URL so that litecart can talk to BTCPayServer.
rob Designer Fra Netherlands Medlem siden rob 16 mars 2024 15:46 Been spending now 3 hours. Does anyone have this working? on thier site?
mishochu Developer Fra United States Medlem siden mishochu 16 mars 2024 16:09 . @rob, I’ve asked you if you know your public BTCPayServer URL and access token. You have not confirmed that yet. I’m not sure what you’re spending 3 hours on, I simply need you to confirm that you do have those two pieces of information to plug in to your configuration.
rob Designer Fra Netherlands Medlem siden rob 16 mars 2024 16:17 Thank you i have a public url looks like this btcpay-okacg-u****.vm.elestio.app and i have this: Server initiated pairing code: zPCgiqJ but it doesn't show in the Store Settings/Access Tokens it says: No access tokens yet.
mishochu Developer Fra United States Medlem siden mishochu 16 mars 2024 16:23 There’s no need to pair with the server, if you go to the admin panel and get a user based access token it should work with any of your stores.
rob Designer Fra Netherlands Medlem siden rob 16 mars 2024 17:51 Thank you mishochu, i get this a Invalid response from remote machine over and over again.
rob Designer Fra Netherlands Medlem siden rob 16 mars 2024 19:28 I have all in order i emailed with support@elest.io they helped to set it up but seems to be the module. see screenshots:
rob Designer Fra Netherlands Medlem siden rob 17 mars 2024 11:58 Been reading could be also the php settings The PDO, curl, gd, intl, json, and mbstring PHP extensions are available
mishochu Developer Fra United States Medlem siden mishochu 18 mars 2024 17:20 You should be looking in your logs, specifically a log file named like this http_request_last-<your btcpayserver url host name>.log. In it you will see what type of requests and responses, if any, you are making and getting from BTCPayServer. An example: GET /api/v1/stores/<store-id>/invoices/<invoice-id> HTTP/1.1 Host: <your btcpayserver url> Authorization: token <your token> X-BTCPAYSERVER-CLIENT-USER-AGENT: {"lang":"php","publisher":"litecart","application":{"url":"https://litecart.net/","version":"1.0","name":"BTCPay Server for LiteCart"}} BTCPayServer-Version: 1.6.0 Content-Type: application/json User-Agent: LiteCart/2.5.4 Content-Length: 0 Connection: Close ## [2023-08-31 12:52:07] Response — 2188 bytes transferred in 0.05 s ### HTTP/1.1 200 OK Server: nginx Date: Thu, 31 Aug 2023 18:52:07 GMT Content-Type: application/json; charset=utf-8 Content-Length: 1320 Connection: close Set-Cookie: <your cookie value> Content-Security-Policy: script-src 'self' Referrer-Policy: same-origin X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Frame-Options: sameorigin X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Content-Security-Policy: default-src https: data: 'unsafe-inline' 'unsafe-eval' Referrer-Policy: strict-origin {"id":"<your invoice id>","storeId":"<your store id>","amount":"7.65","checkoutLink":"<your checkout link>","status":"Settled","additionalStatus":"None","monitoringExpiration":1693599461,"expirationTime":1693513061,"createdTime":1693507661,"availableStatusesForManualMarking":[],"archived":false,"type":"Standard","currency":"USD","metadata":{"orderId":18,"buyerZip":"84317","orderUrl":"<your litecart url>/admin/?doc=edit_order","buyerCity":"Huntsville","buyerName":"Customer Name","buyerEmail":"<customer email>","buyerPhone":"<customer phone>","buyerState":"UT","line_items":[{"name":"Lotion Bar","amount":765,"images":["<your product image>.jpg"],"currency":"USD","quantity":1}],"buyerCountry":"US","buyerAddress1":"6057 Snowbasin Rd","buyerAddress2":""},"checkout":{"speedPolicy":"HighSpeed","paymentMethods":["BTC","BTC-LNURLPAY","BTC-LightningNetwork"],"defaultPaymentMethod":"BCH","expirationMinutes":90,"monitoringMinutes":1440,"paymentTolerance":0.0,"redirectURL":"<your litecart url>/index.php/order_process","redirectAutomatically":true,"requiresRefundEmail":null,"defaultLanguage":null,"checkoutType":null,"lazyPaymentMethods":null},"receipt":{"enabled":null,"showQR":null,"showPayments":null}}```