-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi,
The ClientOrderNumber is generated after the checkout is finished in my system. How can I update the ClientOrderNumber after the checkout in Svea? I've tried the following but it didn't update the ClientOrderNumber.
$orderBuilder = WebPay::checkout($config);
$orderBuilder->setCheckoutOrderId($checkoutId)
->setCountryCode('SE');
$item= WebPayItem::orderRow(); // I get the Items after quering the order.
$orderBuilder->addOrderRow($item);
$orderBuilder->setClientOrderNumber($newId);
$response = $orderBuilder->updateOrder();
I see that the regular orders are possible to update the ClientOrderNumber from this test:
php-integration/test/IntegrationTest/AdminService/UpdateOrderRequestIntegrationTest.php
Line 23 in 1704c89
| public function test_add_new_clientordernumber_invoice() |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels