Giter Site home page Giter Site logo

Comments (13)

equiss avatar equiss commented on September 26, 2024 1

Hello,

This issue should not be closed. WC is not sending order emails for orders paid via this plugin.

This is due to using the "blockchainpending" status. When the status change from "blockchainpending" to "processing" occurs, the notification sent out is not hooked into any email action.

The fix here is simple... 2 options.
1.) (Kills "blockchainpending") Quick and dirty: Change https://github.com/coinbase/coinbase-commerce-woocommerce/blob/master/class-wc-gateway-coinbase.php#L366 "blockchainpending" to "pending".
2.) (keeps "blockchainpending") Add action hooks to the WC emails for woocommerce_order_status_blockchainpending_to_processing_notification (see: https://github.com/woocommerce/woocommerce/blob/07351d5e11f8d5dfc3620577ec5fe3128e704e81/includes/emails/class-wc-email-new-order.php#L42 )

from coinbase-commerce-woocommerce.

ciscospirit avatar ciscospirit commented on September 26, 2024

Hello...

i download the latest changes from github and installed the plugin with this changes and the "processing" status update works now BUT it will not trigger the mail for "new order" for the site admin or the "processing order" for the customer...

is there also a fix avilable somehwere?

from coinbase-commerce-woocommerce.

ciscospirit avatar ciscospirit commented on September 26, 2024

@briswift do you have maybe a solution for this?

from coinbase-commerce-woocommerce.

briswift avatar briswift commented on September 26, 2024

@briswift do you have maybe a solution for this?

I Haven't found a solution though I must admit I haven't done much searching. Thanks for the link and debug log note. Mostly wanted to raise this so the plugin devs were aware of it.

from coinbase-commerce-woocommerce.

ciscospirit avatar ciscospirit commented on September 26, 2024

how you deal in the meantime with that? or did you change to another plugin?
I can live without the site admin mails but i need the "processing order" mails to the customers... :(

sadly i am too bad in coding to fix this in the code by my self :/

from coinbase-commerce-woocommerce.

ciscospirit avatar ciscospirit commented on September 26, 2024

short update:
i tried it now with payment method "cash on delivery" and if i choose this, the processing mail got sent instandly.... so it is definitely a problem with the coinbase commerce plugin, that this not trigger the mail send process.

from coinbase-commerce-woocommerce.

ciscospirit avatar ciscospirit commented on September 26, 2024

Maybe here is the answer?
https://stackoverflow.com/questions/36178717/how-to-trigger-wordpress-woocommerce-email-on-payment-gateway-plugin

https://docs.woocommerce.com/wc-apidocs/class-WC_Email_Customer_Processing_Order.html

from coinbase-commerce-woocommerce.

ciscospirit avatar ciscospirit commented on September 26, 2024

@guacamoli or @imeleshko do you have maybe an idea how to fix the "no processing mail" problem?

from coinbase-commerce-woocommerce.

briswift avatar briswift commented on September 26, 2024

how you deal in the meantime with that? or did you change to another plugin?
I can live without the site admin mails but i need the "processing order" mails to the customers... :(

sadly i am too bad in coding to fix this in the code by my self :/

Not exactly an elegant solution, but I check my website each day. If I see an an order in the "Blockchain Pending," I check my Coinbase Commerce account to ensure payment was received then switch back to Woocommerce and change status from "Blockchain Pending" to "Processing". Doing this manually triggers the processing email to the customer (but no new order received email to me). Obviously this is not ideal but it works for me for the time being. Try a test transaction on your site and see if this will work for you?

from coinbase-commerce-woocommerce.

guacamoli avatar guacamoli commented on September 26, 2024

Hey y’all, sorry but I won’t have any bandwidth to make updates for a while. Any contributions are welcome if anyone wants to open a PR 🙏🏽

from coinbase-commerce-woocommerce.

ciscospirit avatar ciscospirit commented on September 26, 2024

@briswift the "Blockchain Pending" Problem is solved if you use the latest fixed files from this GIT and replace the files from your wordpress plugin installation.

@guacamoli ah thats not good :/ cause i can't solve this "WC_Email_Customer_Processing_Order" problem on my own... :/

from coinbase-commerce-woocommerce.

briswift avatar briswift commented on September 26, 2024

@briswift the "Blockchain Pending" Problem is solved if you use the latest fixed files from this GIT and replace the files from your wordpress plugin installation.

@guacamoli ah thats not good :/ cause i can't solve this "WC_Email_Customer_Processing_Order" problem on my own... :/

Thanks! Updated the files and that works for me. So long as I continue getting the "payment completed" emails from the Coinbase, I can just manually send out the order processing emails from woocommerce.

from coinbase-commerce-woocommerce.

sahil-cb avatar sahil-cb commented on September 26, 2024

Closing this since it's resolved.

from coinbase-commerce-woocommerce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.