[BUG?] Bogus Shopify Payment Method Creation

It used to be the case that if you create a shopify payment method via customerPaymentMethodRemoteCreate and the information provided was not good (example: external profile ids pointed to a non-existent customer/card or the connection to the gateway was broken) that the Shopify GQL API immediately returned bogus gateway information and asynchronously failed to create the payment method.

Now it appears to actually be creating payment methods and attaching the to the customers. You can actually see Bogus branded cards in the Shopify customer view with a 1900 expiration date.

Here’s an example of one: gid://shopify/CustomerPaymentMethod/d37c7acd5df8b653536905c95dd95f3b

So my question is: Is this a new bug or is this the new way Shopify plans on handling these? Previously there was no concern but now it appears that when creating cards we might also need to do clean up if the card that was created ended up bogus. When merchants are migrating on to Shopify and we’re creating these cards we often do them in bulk - now it appears that we need to be careful that we’re not accidentally bulk creating Bogus cards that will likely appear in the online store’s customer account page and customer detail view in Shopify admin

Hi @brian, thanks for flagging this with us. This isn’t intended behavior and we’re looking into it now.

Update: This is currently being worked on and we’ll provide an update here once it has been fully resolved.

Thanks @Paige-Shopify - will the bogus customer payment methods that were created get deleted as part of the fix?