How to test my subscription app?

VladG
Shopify Partner
6 0 0

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?

Replies 3 (3)
ThomazReis
Shopify Staff
Shopify Staff
21 8 6

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!

VladG
Shopify Partner
6 0 0

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
        }
      }
    }
  }
}

 

MaksBrainiac
Shopify Partner
12 1 1

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