简体   繁体   English

订单确认/完成电子邮件未发送给 Woocommerce 中的客人

[英]Order Confirmation/Completion email not sent for GUESTs in Woocommerce

So I have this issue and i am aware of all the bugs and problems around SMTP and wp_mail in woocommerce wordpress and I've read it all...所以我遇到了这个问题,我知道 woocommerce wordpress 中有关 SMTP 和 wp_mail 的所有错误和问题,我已经阅读了所有内容...

I have something different ,emails from my site actually sent(using sandgrid) I am also using PaidMembershipsPro so users with paid membership actually do get email after made an order but users with a free membership or users that not loggedin and paing(PayPal Getaway) per product/order not getting 'Completed Order' email with all the info like it works with paid membership users...我有一些不同的东西,从我的网站实际发送的电子邮件(使用 Sandgrid)我也在使用 PaidMembershipsPro,因此付费会员的用户在下订单后实际上会收到电子邮件,但免费会员的用户或未登录和付款的用户(PayPal Getaway)每个产品/订单没有收到包含所有信息的“已完成订单”电子邮件,就像它与付费会员用户一样......

So I didn't found somebody with similar problem ,, the user do filling billing info including his email , and I can see in Woocommerce > Orders that the orders made by Guest and email is saved and the are in completed state...所以我没有发现有类似问题的人,用户确实填写了包括他的电子邮件在内的帐单信息,我可以在 Woocommerce > Orders 中看到 Guest 和电子邮件发出的订单已保存并且处于完成状态...
So if somebody have Idea how to fix it I would be more than glad to hear..因此,如果有人知道如何解决它,我会很高兴听到..

所以最后在挖掘了很多之后我明白了在完成订单过程中某个地方的问题,这就是为什么没有发送电子邮件,所以我写了这个修复它的动作钩子......

function woocommerce_payment_complete( $order_id ) { $order = new WC_Order($order_id); $order->update_status( 'processing' ); $order->update_status( 'completed' ); } add_action('woocommerce_api_wc_gateway_paypal','mysite_woocommerce_payment_complete',1 );

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 发送订单确认 email 通知 WooCommerce 谢谢 - Send Order Confirmation email notification in WooCommerce thankyou WooCommerce:自定义字段(订单注释)以确认 email - WooCommerce: Custom field (order comments) to confirmation email Laravel为来宾使用默认电子邮件确认 - Laravel use default email confirmation for guests woocommerce 客户城市将通过“新订单”电子邮件发送 - woocommerce Client city to be sent on ‘new order’ email 如何从 WooCommerce 订单确认 email 中删除付款方式? - How to remove payment method from WooCommerce order confirmation email? 在Magento 1.9中,在付款成功之前发送的订单确认电子邮件 - Order Confirmation Email Sent before Payment Success in Magento 1.9 WooCommerce已取消电子邮件通知订单到期时未发送 - WooCommerce Cancelled email notification Not sent when Order expires 如何恢复发送到 WooCommerce 管理员的新订单的 email 中的元数据 - How to recover meta data in the email of new order sent to the WooCommerce admin 帐户确认电子邮件作为垃圾邮件发送 - Account confirmation email sent as SPAM 如何将付款方式从 WooCommerce 订单确认电子邮件更改为付款来源 - How to change payment method from WooCommerce order confirmation email to payment source
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM