• Resolved lmuaytax

    (@lmuaytax)


    Hi,

    I’d like to ask for your help regarding an issue with Link payments.
    Here’s my setup (I cannot change the versions for now due to project constraints):

    • WordPress: 6.1.7
    • WooCommerce: 7.7.0
    • Payment Plugins: 3.3.61

    When a customer tries to pay using Link, we get the following error in Stripe:

    setup_intent_invalid_parameter

    The PaymentMethod provided (link) is not allowed for this SetupIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively update the allowed payment_method_types for this SetupIntent to include “link”.

    I have Link enabled in the plugin settings, but it still throws this error.
    Could you please help me understand what might be causing this or how to fix it?

    Thank you very much in advance for your support.

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @lmuaytax

    Is this error occurring for a subscription product with a trial period?

    Can you share a product page url to your site so we can take a look?

    Kind Regards

    Thread Starter lmuaytax

    (@lmuaytax)

    Hi,

    Yes, the error is happening with a subscription product that has a trial period, and the initial price is set to 0 €. The product isn’t configured through the basic WooCommerce product page, but through a custom configurator we developed (the frontend is in Spanish).

    If you want, I can share the configurator URL or the product ID so you can check how it’s set up. Let me know what works best for you!

    Kind Regards,

    Plugin Author Clayton R

    (@mrclayton)

    Hi @lmuaytax

    If you can share the product page url for this product that would be best. Because you’re using an outdated version of the Stripe plugin, the resolution may require that you add a simple code snippet to your site.

    Once we review your checkout page we will know more on whether the code snippet is the best route.

    Kind Regards

    Thread Starter lmuaytax

    (@lmuaytax)

    Hi,

    As I mentioned, we’re using a special configurator

    To test it properly, please follow these steps:

    1. Click “Contratar Gestión IVA”
    2. In the next step, type “Alemania” → click “Siguiente”
    3. On the card selection step, choose Polonia
    4. Click “Saltar paso”
    5. Finally, click on “Mensual”

    Once you finish this process, it will redirect you to another site (amzvat.com). Basically, this is a wizard built with Vue that generates the final add-to-cart link and adds the product to the cart.

    It’s important to select “Gestión IVA”, since that’s the product we’re having issues with.

    I’m also sharing the direct link that adds it to the cart right away, in case that’s easier for you.

    Let me know if you need any extra info!

    Plugin Author Clayton R

    (@mrclayton)

    Hi @lmuaytax

    Thank you for sharing that link. Here is some feedback on several issues which need to be addresses.

    1. I observed many errors related to SEPA because your customer’s have saved SEPA payment methods that use the old src_. prefix, which is a source object. Stripe has deprecated sources so you need to migrate your src_ objects to payment method ID’s. This Stripe article explains more: https://support.stripe.com/questions/i-received-an-error-when-trying-to-use-a-sepa-direct-debit-source-how-should-i-handle-it
    2. To resolve the Link error, you will need to upgrade the Stripe plugin to at least version 3.3.83, but I highly recommend upgrading it to version 3.3.91 if possible. In version 3.3.83, we changed some client side code that resolved that Link error. You can test on a staging site to ensure that 3.3.91 or 3.3.83 works for your case but it offers many improvements over the current version you’re using.

    Kind Regards

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

The topic ‘Issue with Link payment method — setup_intent_invalid_parameter’ is closed to new replies.