BigCommerce Payments card decline message
Checkout now tells shoppers that their card payment was declined when PayPal declines it, instead of showing only a generic processing error.
- PayPal fraud protection declines: when a Fraud Protection Advanced filter or Chargeback Protection declines a BigCommerce Payments card payment, the shopper sees “Your payment was declined. Please try again.”
- Payments refused by PayPal: payments that PayPal refuses show the same decline message.
The order stays unpaid, as before, and your fraud protection settings in PayPal do not change.
Create Product ignores custom field id
The Catalog API Create a Product endpoint will ignore the read-only id in custom_fields objects instead of returning a 500 server error. The modern product import uses this endpoint, so the import is affected too.
- Create Product: an
idsent inside acustom_fieldsobject is ignored, and the custom field is created with a newid. - Modern product import: rows for new products that include a custom field
idwill be processed without a500error. The custom fields are created and theidvalues in the import file are ignored. - Rollout: you will see this change over the coming weeks.
Delete digital product files that were removed from storage
We are beginning to roll out a fix for digital products in the control panel. Over the coming weeks, you will be able to delete a digital product’s file from the Files section even when its stored file was already removed, for example through WebDAV.
Before, if the stored file was already removed, deleting the file from the Files section failed with an error and the file stayed in the list.
Skip account creation after ordering in completeCheckout
The Storefront GraphQL API now lets you choose, per request, whether completeCheckout creates a customer account after the order is placed.
- New
guestAccountCreationinput: an optional field onCompleteCheckoutInputthat acceptsCHANNEL_DEFAULTorSKIP. CHANNEL_DEFAULT: follows the channel’s “create an account after ordering” checkout setting. This is the behavior when you omit the field.SKIP: doesn’t create a customer account for the order, even when the channel setting is on. The order stays a guest order.- Token-authenticated requests only: requests that use a storefront session and include
guestAccountCreationare rejected. - No request changes: existing
completeCheckoutrequests keep working as they do today.
For details, see the completeCheckout mutation reference.
Storefront GraphQL order consignments return the shipping method name
The Storefront GraphQL API now returns the name of the shipping method the shopper selected for each shipping consignment on an order, so you can show it on headless order details pages.
- New field.
shippingMethodName(String!) onOrderShippingConsignment, available wherever you query an order’s shipping consignments. - No changes needed. Existing queries keep working. Add the field to your order queries to use it.
For schema details, see the Storefront GraphQL API reference:
Order date shipped matches the shipment date
We’re beginning to roll out a fix so that an order’s date_shipped is the same as its shipment’s date_created when you create the shipment with the REST Management API. You will see this change over the coming weeks.
- Date shipped: when a new shipment sets an order to Shipped, the order’s
date_shippedis now thedate_createdof the order’s latest shipment. Before this fix,date_shippedwas the time the order status changed. That time was a few seconds or more after the shipment was created. - Date modified: the order’s
date_modifiedstill shows the time the order status changed. - Status changes without a shipment: when you set an order to Shipped without creating a shipment,
date_shippedis still the time of that change.
For details, see the Create Order Shipment and Get Order references.
Update an order will reject negative line item quantities
The Update an order endpoint (PUT /v2/orders/{order_id}) is beginning to return a 400 error when a line item has a negative quantity. We are rolling this out in phases, so you will see the change in your integrations over the coming weeks.
- Applies to every line item in an update. The check covers line items sent in
productsand inconsignments, for both new and existing line items. - What you will see. The request returns a
400that names the field, for exampleproducts[0].quantity. The order is not changed. - Zero and positive quantities are unaffected. A
quantityof0is still accepted. - Creating an order is unchanged. This change applies to updates only.
- Fix: a negative quantity on a new catalog product now returns a
400. Adding a catalog product to an order with a negativequantitypreviously returned a500with an empty response body. - Use refunds to record returns and credits. If your integration sets a negative
quantityto reduce an order total, create a refund instead.
For details, see Update an order and Create an order refund.