Immutable solution version
BigCommerce API - create order with completed payment status
Complete solution
You cannot currently set the 'payment_status' parameter on an order to any value. An order created via the API will show a blank value for 'payment_status' unless you go into the Control Panel and manually process the order. Beyond changing that 'payment_status' parameter value though, if your goal is to make your store treat an API submitted order as paid, you can do that by changing the 'status_id' parameter. If you create or update an order via the API to have a 'status_id Use when hitting th
TL;DR
You cannot currently set the 'paymentstatus' parameter on an order to any value. Beyond changing that 'paymentstatus' parameter value though, if your goal is to make your store treat an API submitted order as paid, you can do that by changing the 'statusid' parameter. An order created via the API will show a blank value for 'paymentstatus' unless you go into the Control Panel and manually process the order.
You cannot currently set the 'paymentstatus' parameter on an order to any value. An order created via the API will show a blank value for 'paymentstatus' unless you go into the Control Panel and manually process the order. Beyond changing that 'paymentstatus' parameter value though, if your goal is to make your store treat an API submitted order as paid, you can do that by changing the 'statusid' parameter. If you create or update an order via the API to have a 'statusid' value of 2 or 10 ('Shipped' and 'Completed' statuses, respectively), then the store will consider that order paid. What this means is that store statistics will incorporate the details of that order into order statistics. At this time the 'paymentstatus' really only tells you if an order was paid using the store's built-in payment integrations. This detail will only matter if you do take payments external to Bigcommerce in some way and then submit them via API. So if your goal was simply to change the 'payment_status' and has nothing to do with your store recognizing the order as paid, then that is not currently possible using only actions on the API. You cannot capture or take a payment using built-in payment integrations via actions taken on the API, but you can record a payment taken externally into the system. Here are some other notes for people taking payments external to their Bigcommerce store and submitting those completed (paid) orders via the API: Setting the order to status ID 2 (Shipped) or status ID 10 (Completed) is functionally the same in the system. Orders can be created
Context: Stack Overflow question (score 4, has accepted answer): Is there a way to create an order (or update it later) using the BigCommerce API and set the payment status to complete? The documentation says that the field paymentstatus is read only. But I am thinking that perhaps there is some other update that one can do that would have the effect of setting paymentstatus. What I want to do is create an order have marked as payment completed.
When to use
- You hit this exact issue.
- The symptom matches: BigCommerce API - create order with completed payment status.
When NOT to use
- A different error or symptom; the cause here is specific to this one.
Compatibility
Per the linked source.
Edge cases
- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.
Evidence
Stack Overflow question (score 4, has accepted answer): Is there a way to create an order (or update it later) using the BigCommerce API and set the payment status to complete? The documentation says that the field paymentstatus is read only. But I am thinking that perhaps there is some other update that one can do that would have the effect of setting paymentstatus. What I want to do is create an order have marked as payment completed. Resolved: You cannot currently set the 'paymentstatus' parameter on an order to any value. An order created via the API will show a blank value for 'paymentstatus' unless you go into the Control Panel and manually process the order. Beyond changing that 'paymentstatus' parameter value though, if your goal is to make your store treat an API submitted order as paid, you can do that by changing the 'statusid' parameter. If you create or update an order via the API to have a 'statusid' value of 2 or 10 ('Shipped' and 'Completed' statuses, respectively), then the store will consider that order paid. What this means is that store statistics will incorporate the details of that order into order statistics. At this time the 'paymentstatus' really only tells you if an order was paid using the store's b Source: https://stackoverflow.com/questions/28420866/bigcommerce-api-create-order-with-completed-payment-status
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_MdQXVmmfe3ngn9dvAswvUQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">BigCommerce API - create order with completed payment status <span>— Vectle</span></a>