• Resolved bhargav8766

    (@bhargav8766)


    Hello,
    I used WooCommerce Store API,
    I have subscription products for my customers, so when users don’t have any subscriptions or their subscription status is canceled then /wc/store/v1/cart/add-item it worked fine but if users attempt failed order then the subscription status is on-hold and their cart is empty,
    How can set Pay last order using Store API, I also try to use /wc/store/v1/cart/add-item API for add to cart and re-payment for this subscription but getting a response is
    {
    “code”: “woocommerce_rest_product_not_purchasable”,
    “message”: ” ‘My_Subscription_Product’ is not available for purchase.”,
    “data”: {
    “status”: 400
    }
    }
    And also when users want to upgrade the subscription product they also get the same as above response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bhargav8766

    (@bhargav8766)

    Also I using woocommerce-subscriptions plugin for manage subscription

    Hi @bhargav8766

    Thanks for reaching out!

    I understand that you are using the premium plugin WooCommerce Subscriptions here.

    If you have a valid license with us, can you please open a support request for us to investigate further about your issue?

    Meanwhile, I will be marking this thread as resolved since your concern would be best handled by our Happiness Engineers there.

    Thanks!

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

The topic ‘“woocommerce_rest_product_not_purchasable” in /wc/store/v1/cart/add-item API.’ is closed to new replies.