• Resolved hashrateproducts

    (@hashrateproducts)


    Strange issue here…
    When a customer checks out with Bitcoin payment the store creates an address for them, this is logged successfully in the plugin log file. But when I go to my Electrum wallet I cant find the address anywhere. I can also verify that the payment is confirmed by searching the plugin’s generated address on blockchain.

    I discovered this issue from an earlier transaction and tested it afterwards with a test order with the same issue.

    I also double checked that my Electrum master key matches the one configured in the plugin.

    This plugin has worked for the past couple weeks but this issue just started today.

    My site is using:
    – WordPress 3.5.1
    – WooCommerce 2.0.8
    – Bitcoin Payments for WooCommerce 2.12 (hard cron) and Electrum wallet 1.7.4

    Great plugin, I just want to get this sorted! Thanks!

    http://wordpress.org/extend/plugins/bitcoin-payments-for-woocommerce/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author gesman

    (@gesman)

    – Launch Electrum
    – Go to: Electrum settings(icon at the lower right corner)
    – Choose “Wallet” tab.
    – Set “Gap limit” to 100
    – [Ok]
    – Restart electrum.

    Above higher “gap limit” will force Electrum regenerate total of 100 addresses (instead of default 5) – and include balance from them to total wallet’s value.

    This is something plugin needs to “prompt for” automatically to avoid merchant get scared about their money gone to the “black hole”.

    Currently in plans – as time permits…

    Gleb

    I am having the same problem and raising the gap limit to 200 does not help.

    A test order changes from on-hold to processing after one hour and is marked paid in full in store, but the receiving address shown for payment is not in my list of Electrum receiving addresses and the payment does NOT show up in the wallet even after two hours but I can see it in the blockchain fine.

    I made sure the correct master public key is in the plugin. WordPress and Woocommerce are up to date. Using a hard cron job. Why are the receiving addresses not showing in Electrum 1.7.4?

    Switching the plugin back to blockchain until this gets sorted out.

    Thread Starter hashrateproducts

    (@hashrateproducts)

    Hey axablends,

    Switching it 200 gap limit didn’t work for me either.

    But 1000 gap limit worked for me.

    Thanks for the tip, but increasing gap limit to 1000 did not work for me.

    Plugin Author gesman

    (@gesman)

    – Check __log.php in plugin’s directory for tips / messages.
    – Check wp_bwwc_btc_addresses table in your database – see how many addresses were generated.
    Gap limit must be set to something bigger than that.

    Gleb

    wp_bwwc_btc_addresses table had over 2000 addresses! I set the gap limit greater than the total addresses in the table and that fixed the problem, many thanks.

    Should I be concerned about the large number of addresses? Time to delete the plugin and reinstall?

    Plugin Author gesman

    (@gesman)

    Large number of addresses usually generated by webmasters “playing” with their stores placing fake orders and checking stuff.
    Each order needs unique address.
    If address remain unused after certain period of time (no money came in) – it is being returned to the available address pool for next purchase.
    Once address received some bitcoins – it will be permanently removed from the available address pool.
    So under normal conditions – the gap limit needs to be only bigger than total number of orders (plus 10-50 to allow for breathing space).

    You do not need to reinstall plugin. In fact reinstalling it (with data deletion option) will force it to regenerate addresses and re-check them for balances. Which takes time. But if addresses are already generated at least once – the plugin keeps track of balances and orders and things will operate progressively faster.

    Gleb

    Plugin Author gesman

    (@gesman)

    PS: When you forced to use very large gap value due to the large number of addresses already in use – I would recommend to generate new Electrum wallet and enter new Master Public Key in plugin settings.
    Old addresses will still be in database in case some of them will receive late payments, but all new addresses will be generated against new wallet.

    Very large gap value is inconvenient because it’s slow to sync every time.

    Gleb

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin generated addresses are not showing in Electrum’ is closed to new replies.