Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

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
24 10 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!

To learn more visit the Shopify Help Center or the Community Blog.

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