Wordpress: Cart get empty when payment fails - wordpress

I tried this...
Goto WooCommerce > Settings > Products > Inventory and remove any value that is present in the Hold Stock (minutes) field.
Normally that is set to 60 minutes (to reserve inventory). If an order is not paid, then WC will cancel the order and release the inventory for use.
But this doesn't affect my problem.
Is there any other solution available for this problem.
For the note, I' using the Paytm payment gateway and Paypal's payment gateway.

So the query was solved. As I'm using the paytm payment gateway and also PayPal payment gateway so when I approach to cancel the payment using the Paypal it restored my cart with an item but when I approach to cancel the payment using the paytm it doesn't restore the cart with items. So basically its plugin problem, as Paytm payment gateway plugin doesn't have that facility to restore the cart if we cancel the payment made using the paytm. So, if same problem occurs to you ask for help with the payment gateway developer as I ask paytm payment gateway developer.

Related

Woocommerce Stocking Issue

I got an issue with the Woocommerce stocking system. The issue arises when a product stock is reduced to 1, after that every time a customer buys that particular product, the stock does not turn to 0 and hence makes it 'out of stock'.
We've been trying to fix this but never succeeded.
For the payment system we are using Paypal, Bank Transfer (manual), and our local Indonesian payment gateway called Midtrans.
We have tried contacting Paypal which we suspected as the problem, as we keep getting IPN error notifications. I am not too sure yet if Paypal is related to this stocking issue.
Some of WooCommerce's PayPal payment methods do use IPN to mark orders as successfully paid, so that could be related. You should work on ensuring your IPN listener is functioning properly and able to receive messages from PayPal without error.
Alternatively, there are various alternate PayPal plugins for WooCommerce that you can try, and some do not depend on the legacy IPN service.

Why would Woocommerce Paypal guest checkout not work for my customers but making payments with a PayPal account does?

I’m using WooCommerce and for some reason, folks can pay with logging in to PayPal but not as guests.
The order shows up in WooCommerce and it’s pending - then it switches to canceled status and payment doesn’t get sent to me. guest checkout is enabled in PayPal.

PayPal not receiving shipping cost: Validation error: PayPal amounts do not match (gross <N>). Order status changed from Pending Payment to On Hold

I have Woocommerce, UPS shipping and USPS shipping plugin activated on site. Things work working perfectly before the latest update of plugins. I am using Woo 2.6.3 and its addons.
After the update PayPal is not able to receive the shipping cost for the order and hence it process only product total without shipping cost and on site we receive an error as:
Validation error: PayPal amounts do not match (gross 2.75). Order status changed from Pending Payment to On Hold.
When I checked the log for PayPal in the request woocommerce does not add shipping cost under "payment_gross" and "mc_gross"
I have posted ticket for same to Woocommerce support but they will take too long to revert and as it's a live site I can't hold that much.
WooCommerce 2.6+ sends shipping costs as a ‘real’ shipping line item via PayPals API.
If your PayPal account has shipping rules setup within it, these will take over and remove the cost WooCommerce sends across.
So You need to remove all the shipping rule set from your paypal account.
Check below link for more details:
https://docs.woocommerce.com/document/paypal-standard/#my-shipping-costs-are-not-transferring-to-paypal

Woocommerce Subscriptions Stripe Automatic Recurring payments not working

I used woocommerce product to subscribe automatic recurring payment through stripe payment gateway in my site.I have used woocommerce,woocommerce subscription,woocommerce stripe gateway plugins for this process.
First payment for subscription is working fine,but automatic recurring payment is not working with stripe.
Here are the plugin links that i have used.
http://www.woothemes.com/products/woocommerce-subscriptions/
Can anyone provide solution for this issue?
Please do reach out to our support at WooThemes as we'd be happy to see what's happening here. Our official Subscriptions and Stripe extensions do work and have automatic recurring payments.
Here's a few things to check:
Be sure you have the latest version of WooCommerce, Stripe extension, and Subscriptions.
There may be a cron issue with your WordPress site. Try using WP Crontrol to find if there are any cron jobs that have been halted.
Find the scheduled payment that did not process and use the action scheduler to see if it was never fired. You can find this by navigating to /wp-admin/edit.php?post_type=scheduled-action. In the search box, enter {order_id}_ i.e. the ID of the order in which the subscription was purchased followed by an underscore. For example, for a subscription purchased in order 3125, the search string is 3125_.
We've also struggled with Stripe payments not automatically renewing (the initial payment goes through but not any of the renewal payments). We did try WooThemes support but they couldn't find the order as it was made by another web design company so we didn't have access to the order details. Also, you'll find the log's aren't very verbose.
The solution:
Go to: WP-ADMIN > WooCommerce > Settings > Payments > Click "Manage" next to Stripe > Click the box next to "Saved Cards". This needs to be enabled or it won't take payment.

woocommerce subscription recurring not working

I used woocommerce product to subscribe with free trial period through stripe payment gateway in my site.I have used woocommerce,woocommerce subscription,woocommerce stripe gateway plugins for this process.I checked this in localhost with test stripe account.
First payment for subscription is working fine,but recurring payment is not working with stripe even also i run schedule action option in wordpress and not able to see the error log.I created subscription plan in stripe in name of Basic. can anyone provide solution for this issue?

Resources