• Resolved mwbdanish

    (@mwbdanish)


    The same code is working for the cards payment but do not allow to make a payment if payment method is ideal

    here is the error response and let me know how i can make it work,
    please help

    stdClass Object
    (
        [error] => stdClass Object
            (
                [code] => payment_method_unexpected_state
                [doc_url] => https://stripe.com/docs/error-codes/payment-method-unexpected-state
                [message] => The source you provided is not in a chargeable state.
                [request_log_url] => https://dashboard.stripe.com/test/logs/req_iPfALiRZSiMx5h?t=1667458524
                [type] => invalid_request_error
            )
    
    )
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mwbdanish

    (@mwbdanish)

    I have developed a subscription plugin, Plugin is saving the source of the parent order. I have used this filter force save source ( wc_stripe_force_save_source ). The plugin is making a payment for recurring.

    Hi there @mwbdanish ??

    Thanks for reaching out! I understand the payments are not going through if the payment method is iDEAL -using the WooCommerce Stripe Payment Gateway.

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support.?

    Additionally, could you also provide us with the fatal error logs (if any) under WooCommerce > Status > Logs.

    Once you’ve copied each, you can either paste them in your response here, or use https://pastebin.com/ for pasting it there and sharing it with us.

    Looking forward to hearing from you!

    Hi there @mwbdanish ??

    I have developed a subscription plugin, Plugin is saving the source of the parent order. I have used this filter force save source ( wc_stripe_force_save_source ). The plugin is making a payment for recurring.

    I understand this is related to a custom plugin, that you developed yourself.

    Kindly keep in mind we are not developers and only offer support for existing functionality.

    Please see our Support Policy: https://www.woocommerce.com/support-policy/

    Since you are comfortable coding yourself and have questions, I would recommend that you consider:

    * WooCommerce developer Portal
    * WooCommerce Slack Community
    * Advanced WooCommerce Facebook group

    I hope that helps you to figure it out.

    Feel free to get back to us if you have further questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not able make a transaction’ is closed to new replies.