How can ı. get order id in flutter for android
Best answer by cody
View originalHow can ı. get order id in flutter for android
Best answer by cody
View originalHey
We don’t currently send the transaction or order ID in the purchase response from the Flutter SDK.
If you need access to the transaction ID, I’d recommend setting up webhooks as we include transaction identifiers in webhooks for purchases. You can consume webhooks from your server and save the transaction identifier server-side.
Thank you so much for letting me know this
Hey
We don’t currently send the transaction or order ID in the purchase response from the Flutter SDK.
If you need access to the transaction ID, I’d recommend setting up webhooks as we include transaction identifiers in webhooks for purchases. You can consume webhooks from your server and save the transaction identifier server-side.
Please add the order ID to the response, setting up webhook to save server side and then reading from there complicates what should be a pretty simple transaction. (Make an order -> get your order id in the success response)
HI, there is some way to identify the purchase?
I understand that I can validate the purchase with a webhook, but if i dont have any ID (like order ID o transaction ID) How i can verify if the purchase is the same that the webhook send to my server?
please, can you helpme?
Hey
We don’t currently send the transaction or order ID in the purchase response from the Flutter SDK.
If you need access to the transaction ID, I’d recommend setting up webhooks as we include transaction identifiers in webhooks for purchases. You can consume webhooks from your server and save the transaction identifier server-side.
I review your code in the library purchases-hybrid-common you can add the order Id, but you filter that in this line
So, there’s currently no way of getting the order-id from the Flutter SDK when a purchase is made?
This is a problem for my use case where I need to correlate a consumable purchase to the item that’s purchased in my app
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.