How to test my subscription app?

Hey,
I’m using Shopify Payments Test Mode, however, I face a problem regarding Payment Methods, When I try to retrieve the payment method from the customer, it giving me a blank answer.

How do you guys test the payments?

Hello,

It should work fine with Shopify Payments on Test Mode. Could you describe in details what steps you are taking and what errors are you seeing?

Thanks!

Hey @ThomazReis ,

I’m trying to get user payment method id, but when i try to get it showing me blank, i’m using this:

query {
  customer(id: “gid://shopify/Customer/XXXXXXXXXX”) {
    email
    firstName
    lastName
    paymentMethods(first: 5) {
      edges {
        cursor
        node {
          id
        }
      }
    }
  }
}

How to setup Shopify Payments on Test Mode in a developer shop?


I’ve found https://help.shopify.com/en/manual/payments/shopify-payments/testing-shopify-payments