Order not showing in sandbox dashboard for /v2/orders

I know this is old, but it’s the most relevant question to the problem I’m having. There was also this post that is basically the same issue, but no where in that thread does anyone mention that the orders also have to be paid for like in the reply above.

I’m using the createPaymentLink endpoint in the checkout api. When I create a payment link request, it returns a payment link URL and an orderId (even though I’m not sure why an order should be generated before anyone even goes to the payment link, let alone pays at the payment link).

Anyway, I’m able to use the order id to request the order details without a problem. I’m even able to get the fulfillment uid, and use both to update the order and change the fulfillment state to COMPLETED and change the entire order state to COMPLETED. But the orders are still not showing up in my sandbox dashboard under the orders section. The transactions are showing up under the transactions section, but the orders are not. I can still retrieve and update the orders with the order id through the APIs, but not in the console.

So this thread adds on to say that the order also has to also be paid for in order to show up in the dashboard. So I tried to use the create payment endpoint of the payments api, and when I try to create a payment for this order, it says BAD REQUEST because “The order is already paid.”.

So how do I use the create payment link endpoint to have a user pay for something, and see the orders in my sandbox dashboard? Or is that just not an option? Do payments made with the create payment link only show up under “transactions” section in the dashboard? If that’s the case, then why are they even creating orders that can only be accessed with the APIs?