Comments (6)
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.
(On the plan defaults)
from cashier-mollie.
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.
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.
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.
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)
- Same plan with different intervals HOT 1
- Questions HOT 3
- First 1500 customer one year €25 discount / Exclude customers from discount when they have already have one HOT 3
- Guzzle timeout when trying to create a new customer. HOT 5
- PHP8 update confilct HOT 1
- Recurrent payment HOT 17
- Testing webhooks locally HOT 3
- Question about events HOT 6
- Get checkout URL for failed order payments HOT 1
- user id rounded up HOT 1
- Question regarding API KEY HOT 1
- Not Understanding HOT 1
- See when a subscription is up for renewal HOT 1
- Event OrderInvoiceAvailable is dispatched multiple times HOT 1
- 1305 SAVEPOINT trans2 does not exist HOT 1
- Charge based on days of the month left HOT 1
- How to create different pricings for subscriptions based on user country? HOT 2
- Current subscription end date HOT 5
- Is it possible to mandate multiple subscriptions in one initial payment HOT 3
- Interval of subscription not updating
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cashier-mollie.