GithubHelp home page GithubHelp logo

Comments (6)

sandervanhooft avatar sandervanhooft commented on April 28, 2024

Can you try setting the plan method to null )or comment it out?

This exception usually means that the payment method is not enabled in your Mollie profile. Some are not available while using a test token.

from cashier-mollie.

sandervanhooft avatar sandervanhooft commented on April 28, 2024

(On the plan defaults)

from cashier-mollie.

DeBelserArne avatar DeBelserArne commented on April 28, 2024

Just for clarification, do you mean this?

/**
         * A comma-separated list of allowed Mollie payment methods for the first payment. Make sure the methods are
         * enabled in the Mollie dashboard. Set to NULL to let Mollie handle this for you. Can be overridden per plan.
         */
        // 'method' => 'ideal,creditcard',
        'method' => null,

I tried both setting it to null & commenting it out, but kept getting 422.

Could it have something to do with that I don't have a business account. See I don't have a VAT Number yet, so I can't register one. All I have is a test key.

from cashier-mollie.

DeBelserArne avatar DeBelserArne commented on April 28, 2024

Wait, I managed to overlook something when setting the method to NULL.

The error changed to: Error executing API call (422: Unprocessable Entity): The webhook URL is invalid because it is unreachable from Mollie's point of view.. Field: webhookUrl. Documentation: https://docs.mollie.com/guides/handling-errors

from cashier-mollie.

DeBelserArne avatar DeBelserArne commented on April 28, 2024

It seems this could have something to do with me running it on localhost valet at the moment.

Found this issue that could lead me to answers: mollie/mollie-api-php#111

EDIT: Okay, so I used ngrok to tunnel to the outerweb, which was reachable by Mollie. Next error:
Error executing API call (422: Unprocessable Entity): No suitable payment methods found. :D

Sorry to bloat this ticket so much, haha! I'm keepig tabs here!

EDIT 2: This was because I hadn't enabled any payment methods on my mollie account now. I managed to fix the issue.

from cashier-mollie.

Wijnands avatar Wijnands commented on April 28, 2024

I have the same error end tried to enable the payment methods in Mollie.
But i can't figure out how to enable the payment methods for the test API key?

Is there a way to enable the payment methods only for the testing?

from cashier-mollie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.