Title: Payment gateway causing problem in processing payment
Last modified: August 26, 2021

---

# Payment gateway causing problem in processing payment

 *  Resolved [ansum](https://wordpress.org/support/users/ansum/)
 * (@ansum)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/payment-gateway-causing-problem-in-processing-payment/)
 * hello!
    actually, I have a payment gateway installed into my woo commerce store
   but somehow few orders are getting cancelled even though the customer has me 
   the payment and I have received the money into my merchant account. As far as
   I know, I have configured the plugin and also the woocommerce setting properly
   and correctly.
 * Only a few of the orders showing this issue, otherwise the rest orders are fine
   and working well.
 * the scene is, someone comes to my website, goes to checkout, choose the payment
   method, the payment provider takes the user to their website, the user makes 
   the successful payment, I m receiving the payment in my merchant account successfully
   but, the problem is, the order remails as pending payment and the user is not
   getting the order confirmation email.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpayment-gateway-causing-problem-in-processing-payment%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/payment-gateway-causing-problem-in-processing-payment/#post-14811387)
 * Hi [@ansum](https://wordpress.org/support/users/ansum/),
 * Just to check, when you check the affected orders, which payment method was used.
 * At times, this happens with the PayPal gateway due to IPN issues. In such cases,
   WooCommerce is normally unable to receive notifications from PayPal that an order
   has been paid for. Thus, it cancels the order when the Hold Stock timeout is 
   reached even though the seller has already received a payment.
 * Thus, if you’re using PayPal, kindly go through this [IPN troubleshooting guide](https://docs.woocommerce.com/document/paypal-standard/#debugging-ipn-issues).
   If the issue is happening with a different payment gateway, kindly let us know
   so that we can advise further.
 * Thanks.
 *  Thread Starter [ansum](https://wordpress.org/support/users/ansum/)
 * (@ansum)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/payment-gateway-causing-problem-in-processing-payment/#post-14811410)
 * Thank you for replying back. I m using esewa for woocommerce provided by official
   payment provider. The payment gateway is esewa and their website is esewa.com.
   np and the plugin is esewa for woocommer by esewa fone pay pvt ltd.
 * And yes i have IPN enable for this payment gateway
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/payment-gateway-causing-problem-in-processing-payment/#post-14817522)
 * Thanks for getting back.
 * It could a communication issue between the Esewa payment gateway and WooCommerce.
   Esewa might be facing some challenges notifying WooCommerce that an order has
   been paid for. Thus, WooCommerce cancels the order after the HoldStock timeout
   is reached, even though you’ve received the payment.
 * I would recommend getting in touch with the Esewa support team to check further
   the issue. You can contact them here:
    * [https://blog.esewa.com.np/contact-us/](https://blog.esewa.com.np/contact-us/)*
   [https://wordpress.org/support/plugin/woocommerce-esewa/](https://wordpress.org/support/plugin/woocommerce-esewa/)
 * I hope this helps.
    Thanks.
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/payment-gateway-causing-problem-in-processing-payment/#post-14842883)
 * Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as 
   resolved. Hopefully, you were able to proceed as advised above.
 * If you have further questions, please feel free to open a new topic.
 * Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Payment gateway causing problem in processing payment’ is closed to new
replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [payment problem](https://wordpress.org/support/topic-tag/payment-problem/)

 * 4 replies
 * 2 participants
 * Last reply from: [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/payment-gateway-causing-problem-in-processing-payment/#post-14842883)
 * Status: resolved