• Resolved Alex3942

    (@alex3942)


    Hi,

    I’m having an issue with completing the order.

    Coinbase payment goes through and I am transferred to thank you page.

    The problem is that the order is marked “Blockchain pending” and not completed in WooCommerce.

    How can I fix this?

    Thank you and best regards,
    Alex

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have the same problem.
    Is there any solution for this?

    Thread Starter Alex3942

    (@alex3942)

    I haven’t found any solutions and was forced to discard the plugin. :/

    Support is not responding.

    I was able to fix this issue on my website. Go into the plugin php file on your hosting, find class-wc-gateway-coinbase.php. At ~line 364 you should see this:

    } elseif ( ‘COMPLETED’ === $status ) {
    $order->payment_complete();

    Change that section of code to this:

    } elseif ( ‘COMPLETED’ === $status ) {
    $order->update_status( ‘completed’, __( ‘Coinbase payment was successfully processed.’, ‘coinbase’ ) );
    $order->payment_complete();

    The plugin will now automatically update the order status from “Blockhain Pending” to “Completed”. This will send the confirmation email to the customer as well.

    • This reply was modified 5 years, 8 months ago by izzya21.
    Thread Starter Alex3942

    (@alex3942)

    Awesome, I have to try it out when I get to it. Thanks!

    • This reply was modified 5 years, 8 months ago by Alex3942.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Stuck on “Blockchain pending”’ is closed to new replies.