Skip to main content
Question

API request completed with status: POST /receipts 304

  • 3 June 2023
  • 1 reply
  • 210 views

Forum|alt.badge.img+1

When i do request on android phone the payment process complete with success but the catch block of my code is execute with the following error.

V/FA (22462): Connecting to remote service

V/FA (22462): Connection attempt already in progress

D/FA (22462): Connected to remote service

V/FA (22462): Processing queued up service tasks: 2

D/[Purchases] - DEBUG(22462): API request started: POST /receipts

D/[Purchases] - DEBUG(22462): API request completed with status: POST /receipts 304

E/[Purchases] - ERROR(22462): 🤖‼️ The receipt is not valid.
 

1 reply

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 329 replies
  • June 7, 2023

Hi @abd-ullah-c0d96c

The receipt is not valid error typically points to an issue with configuration: https://www.revenuecat.com/docs/errors#---invalid_receipt

Can you confirm that your Google Play package names match across your app, the Google Play console, and RevenueCat, and that your current user is a licensed test user who has been added to your closed test track?

If your configuration seems set up, my recommendation would be to open a support ticket with us by emailing support@revenuecat.com, and sending your full debug logs that reproduce this issue, containing the entire app life-cycle, including the logs generated when the SDK is initialized.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings