dashed-slug.net
Forum Replies Created
-
Hello,
If the extension is still activated, the option should be available.
You should check the PHP error logs for any suspicious errors, and let me know.
This is the support forum for the main plugin.
The support forum for the CoinPayments extension is here: https://www.dashed-slug.net/forums/forum/coinpayments-net-coin-adapter-extension-support/
You can also email me any logs you find.
Looking forward to your reply.
with regards,
Alex
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Custom Exchange rates on frontendHello Daniel,
Glad you figured it out. I am closing this topic as resolved. Just a few notes:
- You may be interested in the
/dswallets/v1/currencies
endpoint rather than the/dswallets/v1/users/N/currencies
endpoint, if you don’t need the user balances. Computing balances takes some non-trivial time (and some extra space in the responses).
- The Bitcoin currency may not always be the first element in the
response
array, so it’s safer to loop over the array elements and look for theBTC
ticker symbol.
Contact me again if you have any more questions about the plugin.
with regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Custom Exchange rates on frontendHello,
Let’s take for example BTC:
- Go to the currency that represents BTC, and ensure that the Coingecko ID is set correctly (
bitcoin
) in this case. - Go to Settings → Bitcoin & Altcoin Wallets → Exchange Rates and select USD. This indicates that you are interested in the exchange rates of various currencies against USD. These are the “VS Currencies”.
- Now the cron jobs, if running, will keep the exchange rates for bitcoin updated. You can verify if the cron jobs are running from Dashboard → Bitcoin and Altcoin Wallets → Debug → Cron jobs last ran on. You can also check to see the exchange rates in the Currency editor.
- Use the
[wallets_rates]
shortcode to display a list of currencies enabled on your system, which should include BTC. Clicking on the exchange rate will rotate between the exchange rates to the various VS currencies. - In other UIs, wherever there is a value for Bitcoin, there will also be a gray value in italics below it. This is also clickable, and will rotate between all the VS Currencies that are enabled. This way the user can select to see amounts both as they are, and converted to the currency that the user is comfortable with.
- It is also possible to retrieve the exchange rates via the plugin’s WP-REST API for use in JavaScript. The endpoints that retrieve currencies (e.g.
/dswallets/v1/currencies
) will also retrieve the exchange rates of the currencies against all VS Currencies. Let me know if you need any help with this. The documentation for accessing the WP-REST API is at: Wallets Admin Docs→ Developer Reference → Wallet APIs → WP-REST-API.
Hope this helps. Please do ask me here again, if you need anything else about exchange rates. If you have a question about a separate topic, please open a new thread.
with regards,
Alex
Forum: Reviews
In reply to: [BOX NOW Delivery] [Solved] Doesn’t workΚαλημ?ρα,
Το plugin διαβ?ζει το β?ρο? των προ??ντων ω? εξ??:
$weight = $cart_item['data']->get_weight();
Καλ? θα ?ταν να μετατρ?πει τι? τιμ?? σε κιλ?, π.χ.:
$weight = floatval( wc_get_weight( $cart_item['data']->get_weight(), 'kg' ) );
Με αυτ? τον τρ?πο μπορε?τε να ε?στε σ?γουροι ?τι το
$weight
ε?ναι σε κιλ?, ?σχετα απ? τη μον?δα που χρησιμοπο?ησε ο διαχειριστ?? του eshop.Δε?τε εδ? για περισσ?τερα: https://woocommerce.github.io/code-reference/files/woocommerce-includes-wc-formatting-functions.html#function_wc_get_weight
Αλ?ξανδρο?
Forum: Reviews
In reply to: [Bitcoin and Altcoin Wallets] SuperIt was also an interesting experience, a first for me. I try to be professional in all my communications because I’m running a business. However, I’ve been doing this long enough to know when it’s not worth it to make a sale. I know you probably don’t realize it, but you’ve been hostile in your communication from day one, and also accused me for your own mistakes. This is why I decided to refund you in full. Hopefully you will find the solution you seek elsewhere. A good day to you.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Wallet not ready:No, unfortunately this is not something that you or I can do via WHM or cPanel. If the hosting provider intends to offer their services only for website hosting and not for applications, then you can’t circumvent their firewall.
You can easily find hosting providers that are suitable for installing bitcoin core. When choosing a hosting plan, ensure to rent a host with sufficient memory, disk and bandwidth resources. For more information, see:
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Wallet not ready:The plugin is built to communicate with the RPC port of the wallet. No other way around this. I guess you must find a different hosting provider that can add a firewall rule for you. It’s a pretty common request.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Wallet not ready:Hello and thanks for your continued interest in the plugin.
The error you mention simply means that the full node wallet that you are connecting to is not accepting RPC connections.
This could be due to a number of reasons:
- A firewall on the server that runs the full node wallet.
- A firewall on the network of the full node wallet server. If you are using a hosting provider, you would have to contact them about this. They would have to set a rule to allow incoming TCP connections to your server at the RPC port. For Bitcoin core, this port is
8332
by default. - It’s possible that in your
.conf
file, you may have not set correctly therpcallowip
andrpcbind
settings.rpcallowip
must be the public IP of your WordPress site, expressed in CIDR notation (i.e. not just the IP).rpcallowip
must be equal to the public-facing IP address of the wallet server.
Check out all three of these things, and if you still encounter the same issue, please let me know.
@ediamin, the issue is resolved in
2.4.1
.Thank you!
Hello @ediamin,
Example code that causes the issue:
namespace DSWallets; 1;
Example code that does not cause the issue:
1;
This should be enough to reproduce.
I don’t think you need to fix your own code, just updating the third party component will resolve the issue in
psysh
.Thanks!
Alex
I’ve tested the two plugins together on PHP 8.2.10 and they work now!
Issue is resolved. Thank you so much!
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Unable to connect to BTC-CORE on UmbrelYou mentioned that you have “firewalls open”.
Have you contacted Godaddy engineers and discussed the firewall? You need to tell them to open port 8332 for you.
You were correct to use
rpcbind
. Try to also userpcallowip
with CIDR notation.Something like
rpcallowip=X.X.X.X/8
where X.X.X.X is your WordPress IP should work.Let me know how it goes. Best of luck
Hello,
Because WordPress runs on top of a request-response web server, I have not implemented any ZMQ or websocket support.
Furthermore, I’ve never worked with ZMQ and I’m not sure I can help you. If you are looking for help on how to do this, it’s better to ask on stackoverflow, or https://bitcoin.stackexchange.com/ or even ChatGPT.
When you ask, tell them exactly what result you’re getting. “Not working” is usually not enough to understand the problem.
One idea is that you should check any firewalls between your script and the machine running Bitcoin core. Is port 29000 available or is it blocked?
Best of luck.
with regards,
Alex
Forum: Reviews
In reply to: [Bitcoin and Altcoin Wallets] GREAT TOOLThank you very much! I’m glad you like the plugin.
Forum: Reviews
In reply to: [Bitcoin and Altcoin Wallets] Best wallet plugin for WPThank you for the review, really glad you are using the plugin successfully!
- You may be interested in the