Bitcoin Payments for WooCommerce
[resolved] Order stuck "on-hold" after payment made (9 posts)

  1. interfect
    Posted 2 years ago #

    I made a test order on my site, and paid the requested amount of BTC to the address provided by the plugin. After I sent the payment, I closed the payment processing tab and went to sleep. My payment has already made it through the plugin and to the deposit address I set for my store, and both the payment to the order-specific payment address and the deposit into the deposit address have over a hundred confirmations. However, the system seems not to have noticed the payment, and the relevant order is still "on-hold".

    Here are the automatically generated order notes:

    Order instructions: price=฿0.01000000, incoming account:1MdrPr6RKUcz1vtNYmvB2BkaNGyuhLsEGh
    added 22 hours ago Delete note
    Awaiting bitcoin payment to arrive Order status changed from pending to on-hold.
    added 22 hours ago Delete note

    1. Is there some way to tell the plugin to re-scan the open, unpaid orders and notice that the payment was sent?

    2. How can the plugin have sent the coins on to my store's deposit address without noticing that the payment had been made?

    3. Did this happen because I closed the tab as the site was waiting to receive my sent payment? Does that page need to stay loaded until the transaction gets 6 confirmations (or whatever I've set my site to wait for before trusting a payment)?

    EDIT: Where do I find the plugin's log file? The callback URL used for Blockchan.info is supposed to be logged to:

    $log_filename = dirname(__FILE__) . '/__log.php';

    Where does this file live relative to the WordPress root?

    Also, if it's relavent: My web site is http://sphericalsky.com/, but you only get WordPress if you go to htp://sphericalsky.com/wordpress/, so any callback URLs need to be under that dirtectory to work properly. Perhaps that's the issue?

  2. gesman
    Plugin Author

    Posted 2 years ago #

    You are correct.
    There was a bug related to IPN callbacks for WooCommerce 2.x
    I just fixed it and updated plugin (1.24).

    I also communicating with blockchain.info service (used for backend processing, APIs and and payment forwarding) related to slow payment processing. Although it maybe related to small payment (the smaller the payment the longer it takes to process, unless you add fee).

    More updates will be coming soon.
    This current update should fix your issues.

    And yes - this is log file - it lives inside of plugin repository:


  3. gesman
    Plugin Author

    Posted 2 years ago #

    PS: I opened a support ticket with blockchain.info service - the one that is used for bitcoin payment processing on the backend.
    This is concerning the fact that their API is not performing as described.
    Payment notification is sent only once, instead of once per each confirmation.
    I am awaiting for reply from them - and until then merchant will have to manually adjust order status to "paid" after payment is received.

    This worked before just fine and something changed at blockchain.info end.

    I expect and hope for quick reply from them to deliver fix.


  4. gesman
    Plugin Author

    Posted 2 years ago #

    I updated plugin and it's operational regardless of delay that blockchain.info imposes.
    Hopefully blockchain.info people will fix the delay issue soon.

    I am also looking into integration with other services as well.
    Likely with coinbase.com next.

  5. lowcostego
    Posted 2 years ago #

    Wow so it was supposed to switch automatically. That is interesting.

  6. ladydekade
    Posted 2 years ago #

    Hey Guys,

    So i'm having the same issue! All bitcoin orders don't update status when payment is made...am I missing something?


  7. gesman
    Plugin Author

    Posted 2 years ago #

    This could be IF:
    - You placed order without sending a miner's fee. Make it 0.0005 or whatever is recommended by your wallet.
    Otherwise payment may get stuck for days in unconfirmed state.

    - You used blockchain.info API as a service provider. It is very slow even if payment is confirmed. Could take up to 48 hours after payment is confirmed for blockchain.info API to send final API notification.

    It is recommended to switch to the latest version of plugin and use Electrum wallet. And pay miner's fee of course.

  8. maxmint
    Posted 2 years ago #

    Same problem here. I'm using Electrum and included miner's fees. Unfortunately, orders don't update their status.

    The log file does state that a new address was generated, but it seems the wordpress cronjob never gets exectued.

  9. gesman
    Plugin Author

    Posted 2 years ago #

    WordPress (soft) cron needs someone to visit website to execute crons.
    So make sure you click on your home page or something.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Bitcoin Payments for WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic