Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Value of order authorization code

Value of order authorization code

maxyface
Visitor
1 0 0

I am building a Shopify app. I would like to be able to access the value of the authorization code associated with a transaction (usually a 6-digit number; printed on paper receipts). In the GraphQL API, this is what I am referring to:

{
  order(id: "xxxx") {
    transactions {
      authorizationCode
    }
  }
}

 So far in my experimentation with a test store and in-development app, we have only seen Stripe payment intent id's in the response. My questions are:

  • is there any way to retrieve the actual value of the authorization code associated with this payment intent?
  • if a store uses a 3rd party payment provider (as opposed to Shopify Payments), would I also see an id for some object hidden behind a 3rd party API?
  • would taking my app live and testing with a real store taking real payments (via Shopify Payments) give a different outcome?
Reply 1 (1)

jmmc
Shopify Partner
19 0 3

Hello OP, did you figure this one out?

Jmmc