Skip to content

Send and get more data from the subscription #182

Answered by imdhemy
jadayash asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your nice words. I'm glad you like it.

Regarding your question:

It would be better if the providers were allowed to add some payload to the receipt data, As far as I know, Google used to allow this, but it stopped.

And even more, sometimes both of them (Google and Apple) don't send the initial purchase event. I don't know why, but it happens.

Proposed solution

As you mentioned, I think the best solution is to receive the receipt data from the mobile application once the user has purchased the product, and then use the Facades (Product or Subscription) to verify the receipt data.

You can follow the steps in the documentation

Note
I deprecated the verifyRenewable. Use the verify

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jadayash
Comment options

@imdhemy
Comment options

Answer selected by imdhemy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants