Mike Jolley on "[Plugin: WooCommerce] Inventary Not Working Automatically"

ساخت وبلاگ

Hi,
I'm creating an e-commerce for a client, and I'm testing the functionality of the shopping cart and inventory management.
I actived stock management, but if I enter the product in cart and I simulate payment, the stock is not decremented (from 1 to 0) automatically. It work if I reduce stock for product, manually.
This is a problem, beacause another customers can able to shop same product, creating a problem in stock.
How can I resolve it?

https://wordpress.org/plugins/woocommerce/

What payment method are you using? Stock won't be reduced until the order is created and paid.

Hi Mike,
I use Paypal. Order is created and in status "In processing".
Woocommerce not should reduce the stock, for set time if I insert a product in your cart, even?

WC reduced stock once its processing. The order notes should reveal this.

Sorry, I'm confused.
what purpose does Hold Stock (minutes) setting, in Woocommerce > Products > Inventary use?

Some gateways create a pending order, and this stock is also considered during checkout. This frees up said stock by cancelling unpaid orders.

robysan83
Member
Posted 20 hours ago #

I think that the problem is IPN Paypal Failure.
I have this message in WooCommerce Order:

"Validation error: PayPal IPN response from a different email address ([email protected]). Order status changed from pending to on-hold."

How Can I resolve this problem?

Set the 'receiver email' in settings.

I have alredy set my 'receiver email', but paypal retu that errore in WooCommerce Order

receiver would need to match the facilitator@ email.

robysan83
Member
Posted 51 minutes ago #

I have alredy set in WooCoomerce > Settings > Checkout > Paypal, my facilitator (test account business paypal).
If I go in http://www.sandbox.paypal.com I can see transaction correctly, but Paypal block payment beacause IPN failed.

robysan83
Member
Posted 6 minutes ago #

I resolved. Papyal email and Destinatary in WooCommerce > Settings > Paypal must be equal and I only changed the first for my tests

If you're switching between sandbox and live, the receiver email is going to change. You should again check the order notes. receiver email must match whatever PayPal sends back.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 63 تاريخ : پنجشنبه 16 ارديبهشت 1395 ساعت: 17:09