Order Create mutation -> Gateway name has extra spaces on Admin portal

I’m using the orderCreate mutation to create an order. On OrderCreateOrderTransactionInput, I want to set ‘gateway’ to ‘PayFabric’. If I do this and then look at the new order on the Admin portal, the gateway has an incorrect space between the ‘y’ and ‘F’. This also happens if I use other words with a capitalized letter in the middle. Is there a way for the gateway name to just be ‘PayFabric’?

Hey @Jonathon_Minard :waving_hand:, thanks for reaching out. This does look odd for sure. I think I may have to do some digging internally to confirm expected behaviour, but just out of curiosity/to narrow down what might be happening, in the API response when you create the order, does the gateway show with the formatting you see in the admin or with how you original set it up as “PayFabric”?

As well, do you know if there’s already a gateway called “Pay Fabric” including the space on the shop? Just wondering if there’s a formatting automation on our end that isn’t documented.

Hope to hear from you soon!

In the API response, the gateway shows up as “PayFabric” like how I sent it.

I don’t appear to have gateway called “Pay Fabric” on the shop.

Thanks @Jonathon_Minard for confirming that - I’ll do some digging on my end to see if we can confirm expected behaviour or if this is unintended on our end. I’ll loop back with once I have an answer here :slight_smile:

Hey again @Jonathon_Minard - I’ve been working with some teammates on this and we think this could potentially be an issue on our end. Would you be able to share a link to an order or an Order ID for an order where this occurred after you created it?

Let me know if you’d prefer to share that over DM as well and I can set one up on my end - speak soon!

Hello.

Here’s a sample order:
https://admin.shopify.com/store/jonathon-minards-store-january-2023/orders/6357234909487

Thanks

Thanks @Jonathon_Minard, appreciate you sending this my way. I’m going to open up an internal issue tracking ticket for this on my end and I’ll let you know once a fix is pushed/if I can confirm next steps :slight_smile:

Thank you for looking into this

1 Like

Hey @Jonathon_Minard, thanks again for your patience while we dug into this one with the team. I appreciate you sharing the example order—it really helped us narrow things down.

I did want to confirm that we investigated this on our end and the issue is related to how camelCase strings (like “PayFabric”) are rendered in certain parts of the Admin UI, which is why you’re seeing that unexpected space (“Pay Fabric”). The underlying data should still stay accurate (like you mentioned in the API response), and it should not affect order processing, transactions, or any aspects of the order itself there. That said, our developers are aware of the issue, but it’s likely that any changes to this may take some time.

In the meantime, as a workaround, you could try submitting the gateway name in all lowercase (“payfabric”) or all uppercase (“PAYFABRIC”) via the orderCreate mutation—this should display without the added space in the Admin (though it wouldn’t preserve the exact camelCase capitalization like “PayFabric”). If that doesn’t fit your needs or if this is causing bigger issues (e.g., in reporting or integrations or relationships with merchant clients), please feel free to share more details, and I’d be more than happy to loop back with the team to see if we can advocate for higher priority.

Let me know if there’s anything else I can help with :slight_smile:

Thank you. As long as the issue is eventually fixed, that’s good with me.

Hi @Jonathon_Minard, no worries at all and thanks for your follow up here too. We do have this log as an issue, but I’m also going to set up a feature request as well so it’s logged as a frustration for our partners (this can sometimes help speed up investigations/fixes, especially if we receive other reports of this through other channels like X, our support lines, etc).

Appreciate you flagging this again, let me know if I can help out with anything else as always.