Testing App One Time Purchase

dev12341
New Member
9 0 0

I am using the  appPurchaseOneTimeCreate mutation to create a purchase, in test mode. All works great.

Now I am using the Partner API to retrieve the transaction in order to manage the in app purchase, but nothing shows.

Is it because I am using "test" purchases or there is other reason?

Here is the graphql query that returns empty transactions:

{
  transactions(types: [APP_ONE_TIME_SALE, APP_USAGE_SALE],
  createdAtMin: "2021-06-01T00:00:00Z",
    createdAtMax: "2021-06-28T23:59:59Z"){
    edges {
      node {
        id
        createdAt
        ... on AppOneTimeSale {
          chargeId
          netAmount {
            amount
          }
          app {
            name
          }
          shop {
            name
          }
        }
        ... on AppUsageSale {
          chargeId
          netAmount {
            amount
          }
          app {
            name
          }
          shop {
            name
          }
        }
      }
    }
  }
}

 

0 Likes