Skip to main content
Question

How to get google order id from transaction Id ?

  • January 10, 2023
  • 1 reply
  • 750 views

Forum|alt.badge.img+3

So I am able to see the transaction id in revenue cat but for google the order id starts with 

GPA.1234-5678-9012-34567 (Paid apps and in-app purchases)

GPA.1234-5678-9012-34567..0 (Subscriptions)

but my transaction Id looks like this 

 "transaction_id": "momccgonamhibjgoineacklf.AO-J1OwDsqdYk6v87sEv9MLdsuQPfo0y2-UfQe1FJvRpye5QIi7MThjIZyKk_7Yzyyr6SDRxTy1PzbQUZj3hIirzCKE3I56bf0BBeRMK9qVyB-MZh7ZablM"

I need the order id the format provided by google how to do that.

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • January 18, 2023

The transaction id is normally in GPA. format, but it can be differently formatted if you are using Google Play pass or if a promotional code was used. We get this transaction id from Google, so unfortunately there is nothing we can do about the formatting being different.