Title: Dat Hoang's Replies | WordPress.org

---

# Dat Hoang

  [  ](https://wordpress.org/support/users/htdat/)

 *   [Profile](https://wordpress.org/support/users/htdat/)
 *   [Topics Started](https://wordpress.org/support/users/htdat/topics/)
 *   [Replies Created](https://wordpress.org/support/users/htdat/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/htdat/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/htdat/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/htdat/engagements/)
 *   [Favorites](https://wordpress.org/support/users/htdat/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 651 total)

1 [2](https://wordpress.org/support/users/htdat/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/htdat/replies/page/3/?output_format=md) …
[42](https://wordpress.org/support/users/htdat/replies/page/42/?output_format=md)
[43](https://wordpress.org/support/users/htdat/replies/page/43/?output_format=md)
[44](https://wordpress.org/support/users/htdat/replies/page/44/?output_format=md)
[→](https://wordpress.org/support/users/htdat/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Slow queries with wcpay incentives?](https://wordpress.org/support/topic/slow-queries-with-wcpay-incentives/)
 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/slow-queries-with-wcpay-incentives/#post-18722993)
 * Hi [@nikov](https://wordpress.org/support/users/nikov/), I am a Software Engineer
   working on the WooCommerce and WooPayments codebases.
 * Thanks for raising this issue, and I agree that we should not send external HTTP
   requests for every page load, especially for non-critical info like incentives.
   Let me go into the technical details a bit deeper.
 * **Current caching strategy **
 * The `GET https://public-api.wordpress.com/wpcom/v2/wcpay/incentives` request 
   is initiated in [this get_incentives method](https://github.com/woocommerce/woocommerce/blob/a71953e3e4459407ab5e930ae35df0ac549c82d0/plugins/woocommerce/src/Internal/Admin/Suggestions/Incentives/WooPayments.php#L161-L173).
   Before and after calling this HTTP request, the code has tried to do two types
   of caching:
    - in-memory: to ensure that for every HTTP request to your WordPress site, there
      is a maximum of one GET request above).
    - transient: can be either object cache such as Memcached/Redis/etc, or simply
      wp_options if sites do not have object cache. This ensures that the response
      for the GET request above will be cached for 6 hours if it’s an error, and
      24-48 hours if it’s successful (status 200).
 * **Possible causes**
 * I have tried to replicate this issue on my testing sites, both local and a hosting
   site. However, I do not get the issue you mentioned here. Furthermore, looking
   at the Git blame, the relevant code has been in the codebase for nearly one year.
   Given all of these points, it’s likely that your site or hosting has some specific
   settings or cache that the relevant codebase is not covering well.
 * **Next steps **
 * We’re keen on figuring out what the cause is and iterating on the current codebase.
   To figure out the cause, it would be helpful for us if you could:
    - Provide us the System Status Report (as mentioned above)
    - Try to disable other plugins and keep only WooCommerce, and see if the issue
      exists
    - Based on your screenshot, it seems you’re using the Query Monitor plugin, 
      could you provide screenshots for the `Transient Updates` section too.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woo Viet - WooCommerce for Vietnam] Woocommerce không hiện chọn tỉnh, district khi active woo việt](https://wordpress.org/support/topic/woocommerce-khong-hien-chon-tinh-district-khi-active-woo-viet/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/woocommerce-khong-hien-chon-tinh-district-khi-active-woo-viet/#post-18089823)
 * Hi, sorry for the late response. It sounds like both of you are using [the block checkout](https://woocommerce.com/document/woocommerce-store-editing/customizing-cart-and-checkout/checkout-block/)?
   If so, Woo Viet has not supported it yet.
 * Currently, it supports [the classic checkout](https://woocommerce.com/document/woocommerce-store-editing/customizing-cart-and-checkout/#reverting-to-the-classic-cart-and-checkout)
   only.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woo Viet - WooCommerce for Vietnam] Unable to show the VND currency format](https://wordpress.org/support/topic/unable-to-show-the-vnd-currency-format/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/unable-to-show-the-vnd-currency-format/#post-17426341)
 * Hi, is that your site is using a multi-currency plugin? If so, I don’t think 
   it can work properly. Could you go to WP Admin > WooCommerce > Settings, and 
   take a screenshot for me there?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woo Viet - WooCommerce for Vietnam] Thanh toán qua paypal không hoạt động](https://wordpress.org/support/topic/thanh-toan-qua-paypal-khong-hoat-dong/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/thanh-toan-qua-paypal-khong-hoat-dong/#post-17324698)
 * > Để mình xem xem có thể add thêm support cho plugin mới này được không bạn nhé.
 * Tuy nhiên, sẽ không có thời gian dự kiến cho việc này bạn nhé.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woo Viet - WooCommerce for Vietnam] Thanh toán qua paypal không hoạt động](https://wordpress.org/support/topic/thanh-toan-qua-paypal-khong-hoat-dong/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/thanh-toan-qua-paypal-khong-hoat-dong/#post-17324697)
 * Rất tiếc là Woo Viet chưa hỗ trợ “WooCommerce PayPal Payments”. Hiện tại Woo 
   Viet chỉ hỗ trợ PayPal Express Checkout [https://woo.com/document/paypal-express-checkout/](https://woo.com/document/paypal-express-checkout/)
   và [https://woo.com/document/paypal-standard/](https://woo.com/document/paypal-standard/)
   nhưng cả hai đã không còn được tiếp tục phát triển. Để mình xem xem có thể add
   thêm support cho plugin mới này được không bạn nhé.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woo Viet - WooCommerce for Vietnam] Thanh toán qua paypal không hoạt động](https://wordpress.org/support/topic/thanh-toan-qua-paypal-khong-hoat-dong/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/thanh-toan-qua-paypal-khong-hoat-dong/#post-17319390)
 * Chào bạn, bạn đang dùng plugin PayPal gì? Bạn vào trong WP Admin > Plugins, và
   chụp cho mình plugin đó nhé.
 * Và bạn chụp giúp mình cả cái trang settings của Woo Viet nhé.
 * Do có nhiều plugin PayPal nên có thể cái bạn dùng thì Woo Viet chưa hỗ trợ.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woo Viet - WooCommerce for Vietnam] Plugin hiện không còn tương thích với phiên bản Woo mới nhất](https://wordpress.org/support/topic/plugin-hien-khong-con-tuong-thich-voi-phien-ban-woo-moi-nhat/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-hien-khong-con-tuong-thich-voi-phien-ban-woo-moi-nhat/#post-17194558)
 * À, cảm ơn bạn. Cái HPOS này mình hiểu, cơ bản là không có vấn đề gì đâu. Plugin
   Woo Viet không tương tác nhiều với WC_Order object nên nói chung oki. Có vấn 
   đề cụ thể gì thì bạn gửi lên nhé.
 * Mình cũng sẽ xem và check lại.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woo Viet - WooCommerce for Vietnam] Plugin hiện không còn tương thích với phiên bản Woo mới nhất](https://wordpress.org/support/topic/plugin-hien-khong-con-tuong-thich-voi-phien-ban-woo-moi-nhat/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-hien-khong-con-tuong-thich-voi-phien-ban-woo-moi-nhat/#post-17193265)
 * [@nguyentan0510](https://wordpress.org/support/users/nguyentan0510/) – Cụ thể
   là ở đâu bạn nhỉ? Và chức năng gì? Mình đang cài Woo core bản 8.2.2 thì không
   thấy thông báo vậy.
 * Nếu có thể bạn gửi System Status [https://woo.com/document/understanding-the-woocommerce-system-status-report/#system-status](https://woo.com/document/understanding-the-woocommerce-system-status-report/#system-status)
   cho mình nhé. Bạn nên review và xoá (hoặc thay đổi) đi các thông tin quan trọng
   như tên website, đường dẫn thư mục của website.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooPayments: Integrated WooCommerce Payments] after updates, cannot show backend page](https://wordpress.org/support/topic/after-updates-cannot-show-backend-page/)
 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/after-updates-cannot-show-backend-page/#post-17149096)
 * Hi, what’s your WooPayments version? And what plugins do you have in your site?
 * It might be a conflict issue in 6.6.0 and 6.6.1, which has been resolved in 6.6.2.
   See more reference here [https://wordpress.org/support/topic/fatal-error-wcpaycontainerhasid/#post-17140444](https://wordpress.org/support/topic/fatal-error-wcpaycontainerhasid/#post-17140444)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooPayments: Integrated WooCommerce Payments] Fatal error: Declaration of WCPay\Container](https://wordpress.org/support/topic/fatal-error-declaration-of-wcpaycontainer/)
 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-declaration-of-wcpaycontainer/#post-17149083)
 * This conflict issue would be resolved in the latest version 6.6.2.
 * Sorry again about this issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooPayments: Integrated WooCommerce Payments] Fatal error: Declaration of WCPay\Container](https://wordpress.org/support/topic/fatal-error-declaration-of-wcpaycontainer/)
 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-declaration-of-wcpaycontainer/#post-17137537)
 * We apologize for this conflict issue. It’s a conflict between WooPayments and
   other plugins/themes when using a common PHP package. 
   **~That said, we could
   be able to fix it, and release the fix in the recent 6.6.1 version.~**
 * Update: sorry everyone again, I mislead the information that 6.6.1 included the
   fix for this issue. This issue is still being worked on.
    -  This reply was modified 2 years, 7 months ago by [Dat Hoang](https://wordpress.org/support/users/htdat/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woo Viet - WooCommerce for Vietnam] Plugin looks promising](https://wordpress.org/support/topic/plugin-looks-promising/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-looks-promising/#post-16980368)
 * It’s not actively developed. All features are working without any major issue;
   hence, there is no reason to update.
    -  This reply was modified 2 years, 9 months ago by [Dat Hoang](https://wordpress.org/support/users/htdat/).
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[WooPayments: Integrated WooCommerce Payments] Complete garbage – just use Stripe instead](https://wordpress.org/support/topic/complete-garbage-just-use-stripe-instead/)
 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/complete-garbage-just-use-stripe-instead/#post-16911132)
 * Hi [@kcjpro](https://wordpress.org/support/users/kcjpro/), we appreciate your
   feedback here.
 * I am a software engineer for the WooPayments product. I’d like to iterate on 
   this issue.
 * > They disabled the Woocommerce Payments plugin which was making a loop process
   > with event polling.
 * Besides what [@csmcneill](https://wordpress.org/support/users/csmcneill/) asked
   above, based on the initial assessment, it might be related to our [Webhook Reliability](https://github.com/Automattic/woocommerce-payments/pull/3827)
   service (feature), which was introduced over one year ago (March, 2022).
 * Allow me to explain a bit about this service. As you can see in my reference 
   link, we carefully designed this feature to ensure that sites will only use this
   feature if our WPcom/WCPay server can not deliver webhook events to your site
   in the first time. It will stop when there is nothing more to fetch. Furthermore,
   those fetching actions are executed from [Action Scheduler](https://github.com/woocommerce/action-scheduler)(
   embedded in Woo core), which would optimize this process. Note: I would call 
   them “fetch” rather than “poll” as client sites just fetch them when they need,
   not always “poll” to send requests.
 * In fact, some of our largest merchants sometime also need to use this service,
   but we have not got this type of performance report so far due to this feature
   _alone_.
 * It’s not possible to tell the exact cause at the moment. However, it sounds like
   if this Webhook Reliability service causes the issue, the hosting can play a 
   vital role here when interacting with our server, i.e. requests in and out from
   the hosting. Even if that’s the case, we’d like to learn more about that.
 * Anyway, they’re all our initial assessments, our implementations might not be
   perfect, and we strive to make WooPayments work flawlessly for everyone. If you
   can provide additional information for debugging, that would be great. You can
   safely provide your site information here [https://woocommerce.com/my-account/create-a-ticket/](https://woocommerce.com/my-account/create-a-ticket/)–
   at least the site address or the WCPay account ID would help.
 * We also created a GitHub issue to track your report: [https://github.com/Automattic/woocommerce-payments/issues/6834](https://github.com/Automattic/woocommerce-payments/issues/6834)
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Woo Viet - WooCommerce for Vietnam] Tốt](https://wordpress.org/support/topic/tot-26/)
 *  Plugin Author [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/tot-26/#post-15558169)
 * Cảm ơn bạn review!
 * > Có thể hỗ trợ Paypal mặc định của Woocommerce không ạ?
 * Cụ thể là PayPal nào bạn nhỉ? Bạn gửi link hay screenshot được không?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooPayments: Integrated WooCommerce Payments] Uncaught TypeError: _.pluck is not a function causing issues when trying to edit](https://wordpress.org/support/topic/uncaught-typeerror-_-pluck-is-not-a-function-causing-issues-when-trying-to-edit/)
 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-_-pluck-is-not-a-function-causing-issues-when-trying-to-edit/#post-15421448)
 * [@gettingdownunder](https://wordpress.org/support/users/gettingdownunder/) and
   [@djav1985](https://wordpress.org/support/users/djav1985/) – We’re sorry for 
   the trouble here.
 * WCPay 3.8.1 has been released to fix this issue. Would you please update it and
   let us know the result?
 * If the issue is still there, some screenshots would be helpful for us.

Viewing 15 replies - 1 through 15 (of 651 total)

1 [2](https://wordpress.org/support/users/htdat/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/htdat/replies/page/3/?output_format=md) …
[42](https://wordpress.org/support/users/htdat/replies/page/42/?output_format=md)
[43](https://wordpress.org/support/users/htdat/replies/page/43/?output_format=md)
[44](https://wordpress.org/support/users/htdat/replies/page/44/?output_format=md)
[→](https://wordpress.org/support/users/htdat/replies/page/2/?output_format=md)