Description
Bug Description
urchases made through the plugins (MERCADO PAGO) or (OpenPix for WooCommerce) using the PIX payment method — which is currently the most widely used in Brazil — are not updating the statistics and reports on the vendor dashboard.
See the image: https://postimg.cc/JyP1VFGN
This issue does not occur when the purchase is made using a credit card, such as with Stripe for WooCommerce.
Link to the support request on the WordPress forum:
https://wordpress.org/support/topic/dashboard-without-statistics-after-update/#post-18471772
Step To Reproduce
- Log in as a customer and add any product from a vendor to the cart.
- At checkout, choose PIX payment via:
- Mercado Pago
- OpenPix for WooCommerce
- Complete the purchase and wait for the payment confirmation.
- Log in as the vendor of that product.
- Go to the Dokan Vendor Dashboard > Reports or Stats.
- Notice: The sale does not appear in the statistics or sales report.
Expected Behaviour
Note:
The order is confirmed in WooCommerce, but not reflected in the Dokan reports.
When using Stripe (credit card), the reports update correctly.
Actual Behaviour
When a customer completes a purchase using PIX (via Mercado Pago or OpenPix), the order 50BE should be reflected in the Dokan Vendor Dashboard, including:
Updated sales statistics
Appearance in charts and reports
Proper count in daily/weekly/monthly summaries
Just like it works with Stripe (credit card) payments.
Additional Information
No response
Environment (please complete the following information)
1. Dokan Version: [e.g. v3.1.2]
2. Dokan Pro Version: [e.g. v3.1.2]
3. WooCommerce Version: [e.g. v4.9.2]
4. Browser [e.g. chrome, safari]
5. Current Theme: [e.g. Store Front]