Closed jesse-dijkstra closed 4 years ago
Can you try updating it on the order's payment instead of on the order resource?
Can you try updating it on the order's payment instead of on the order resource?
In this case I can only use the Orders API because Klarna Pay later isn't supporting Payments API
yes, but you can retrieve the payment of the order's underlying payment
do you have an example?
I've found the issue. You're right, it should be possible directly on the Order resource. The mollie-api-client is not supporting this yet. I'll fix this this week.
Hi @jesse-dijkstra ,
I've just released a fix on mollie-api-php
. Running composer update
should pull in the update.
https://github.com/mollie/mollie-api-php/releases/tag/v2.22.0
I'm trying to update the redirectUrl from a Mollie order, with the following code:
When I data dump $mollieOrder it shows the updated redirectUrl but when I recall the order like this Mollie::api()->orders()->get($mollieOrder->id); the redirectUrl is not updated, this is the same in the dashboard.
I'm doing the exact same with a Mollie payment like this:
which is working great.