You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I am one of the maintainers of the Vendure Mollie integration, and we use the Mollie Node client. After upgrading to V4 I can not seem to get payments of an order anymore, it results in #<Object> is not a constructor.
Run this script to reproduce:
// repro.jsimport{createMollieClient}from"@mollie/api-client";// Both v4.1.0 and 4.0.0 have this issue, 3.7.0 worksconstapiKey="test_xxxx";constorderId="ord_1.acekxu";// An order with status Paid(async()=>{constmollieClient=createMollieClient({ apiKey });constmollieOrder=awaitmollieClient.orders.get(orderId);constmolliePayments=awaitmollieOrder.getPayments();// This throws the errorconsole.log(molliePayments);})();
Using node 18, run node ./reproduce.js
The text was updated successfully, but these errors were encountered:
Hi! I am one of the maintainers of the Vendure Mollie integration, and we use the Mollie Node client. After upgrading to V4 I can not seem to get payments of an order anymore, it results in
#<Object> is not a constructor
.Run this script to reproduce:
Using node 18, run
node ./reproduce.js
The text was updated successfully, but these errors were encountered: