-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
When I make a purchase request like this:
$purchase_params = [
'amount' => '10.00',
'currency' => 'EUR',
'description' => 'Test',
'returnUrl' => '/return',
'notifyUrl' => '/notify',
'paymentMethod' => 'ideal',
'metadata' => ['order_id' => '1'],
];
$gateway->purchase($purchase_params)->send();
I get the following response:
#data: array:5 [▼
"status" => 422
"title" => "Unprocessable Entity"
"detail" => "The amount is required for payments"
"field" => "amount"
"_links" => array:1 [▼
"documentation" => array:2 [▼
"href" => "https://docs.mollie.com/guides/handling-errors"
"type" => "text/html"
]
]
]
Any idea?
Having the following libraries installed by composer:
-
"omnipay/mollie": "^5.0",
-
"league/omnipay": "^3.0"
Metadata
Metadata
Assignees
Labels
No labels