Customers Segmentation not working for orders placed in test payment mode

Hey.

I’m working on a company that develops an loyalty provider that has integration with Shopify.

I currently have two issues:

  1. Customers Segments are not filtering test customers that placed test orders using test payment (I’ve tried both Shopify Payments & Bogus Gateway).
  2. Tangential: checkout page on my dev store rejects test card number (e.g. … 4242), but if I click on “Checkout as guest”, then specified card number works (albeit not stored in my test customer account I’m using for purchase).

Problem #1

  • I’ve created following customers segment to identify customers with no purchases (query “number_of_orders = 0”)

  • Note, that it displays “100% of your customer base” and every customer has 0 orders.
    However, if I click on “Test Testerson” customer, I see plenty of orders.
    All of them were made using test mode payment provider (both Shopify Payments and Bogus Gateway)

  • This is development store and I am using Shopify Payments in test mode:

Problem #2

  • Despite Shopify Payments is in test mode, I can not use any of provided test card numbers:

  • However, if I click on “Checkout as guest”, same test card works.


Therefore, my questions are:

  1. How to make customers segments match customers that placed test orders using test payment on a development shop?
  2. How to make test card number work on checkout without entering “guest” mode?