Title: Recurring payment failed
Last modified: April 1, 2019

---

# Recurring payment failed

 *  Resolved [Masud Rana](https://wordpress.org/support/users/yeelloo/)
 * (@yeelloo)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/recurring-payment-failed/)
 * Hello,
    Recurring payments failed for variable subscription product. Following
   might help: Apr-2019 22:54:45 UTC] IPN request is valid according to PayPal. [
   01-Apr-2019 22:54:45 UTC] Found order #1878 [01-Apr-2019 22:54:45 UTC] Payment
   status: completed [01-Apr-2019 22:54:45 UTC] Aborting, Invalid type:merch_pmt
 * I found this on paypal:
    merch_pmt : Monthly subscription paid for Website Payments
   Pro, Reference transactions, or Billing Agreements [https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNandPDTVariables/](https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNandPDTVariables/)
   That made me thinking why validate_transaction_type function does not have “merch_pmt”
 * protected function validate_transaction_type( $txn_type ) {
    $accepted_types 
   = array( ‘cart’, ‘instant’, ‘express_checkout’, ‘web_accept’, ‘masspay’, ‘send_money’);
   if ( ! in_array( strtolower( $txn_type ), $accepted_types ) ) { wc_gateway_ppec_log(‘
   Aborting, Invalid type:’ . $txn_type ); exit; } }
 * Any help will be highly appreciated.
 * Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frecurring-payment-failed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [7 years ago](https://wordpress.org/support/topic/recurring-payment-failed/#post-11441699)
 * Hi,
 * How do you set up to handle recurring payments?
 * Are you using [WooCommerce Subscriptions](https://woocommerce.com/products/woocommerce-subscriptions/)
   or use another plugin?
    1. If you’re using [WooCommerce Subscriptions](https://woocommerce.com/products/woocommerce-subscriptions/),
       please follow [this guide]([https://docs.woocommerce.com/document/paypal-express-checkout/#section-17](https://docs.woocommerce.com/document/paypal-express-checkout/#section-17)?
       You may need to create an account. We will be able to help you further there.
    2. If you use another plugin, that means WooCommerce PayPal Checkout Payment Gateway
       does not support your types of recurring payments.
 *  -  This reply was modified 7 years ago by [Dat Hoang](https://wordpress.org/support/users/htdat/).
    -  This reply was modified 7 years ago by [Dat Hoang](https://wordpress.org/support/users/htdat/).

Viewing 1 replies (of 1 total)

The topic ‘Recurring payment failed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-gateway-paypal-express-
   checkout_b298d1.svg)
 * [WooCommerce PayPal Checkout Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/recurring-payment-failed/#post-11441699)
 * Status: resolved