-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with IAP #495
Comments
Thank you for reporting this issue/advice. |
Hi, @GauravUMX612 , thank you for sharing problem clearly. We tested our demo scenes, and we didn't face any problems.
If you don't mind could share the log record? We can analyze your log record. |
Hello @Andronovo-bit thank you for Quick Response I will Check out all Details provided |
Hello @Andronovo-bit I Created one Demo Project and I am Getting Checkout Full Logs |
@GauravUMX612 Hi,
Maybe, you can try purchase operation after these methods. |
@Andronovo-bit Hello,
Then also getting same results and Logs |
Hi @GauravUMX612 thanks for sharing your demo code and log records, Can you look at this IAP flowchart ? I try to explain basically IAP scenerio. Can you try to purchase after these steps in diagram ? And also, I know before I said below things but can you check again ?
|
Hello @Andronovo-bit Please Check I followed all the steps mentioned above and still getting same results |
Hi @GauravUMX612 , I guess, we have a some problems about after purchase status control mecanism. Can you try below code changes in HMSIAPManager.cs file ? Also callback is working. You can add |
Hello @Andronovo-bit The Purchase Failed and then Purchase Success Issue Solved by Updating Code as you mentioned |
HW.Plugin.Crash.Issue.mp4Hello @Andronovo-bit Checkout the Video Provided with Logs window where our QA Team Member is facing a problem of Plugin Crash / Black Stuck Screen After Purchase Completed and not giving any response back to the game |
Hi @GauravUMX612, We watched this video and reviewed the logs. I believe this is a problem with the screen orientation. After success purchase, as I see, the screen is forced to change orientation. We tried the demo scene in the plugin and, as you can see in the video below, there were no issues. Unity_l7Ejn18HUL.mp4 |
Hello @Andronovo-bit and if its an orientation issue how can i fix it |
@GauravUMX612 , At 18 seconds into your video you can see that there is a point that forces it to be vertical or forces to rotate. I think, you can check the project screen rotation(Oriantation) codes in your project, or you can check if there is any forcing in one direction or the other. As you can see thare isn't any forcing in I send video before. Screen Oriantation always selected as a "LandscapeLeft". |
Thank you for using our repository! We're glad we could help solve your issue. If you found our repository helpful, please consider giving us a star ⭐ on GitHub: https://github.com/EvilMindDevs/hms-unity-plugin Your support helps us continue to improve our repository and provide valuable resources for others. |
We have integrated the HMS Evil Minds Plugin in our game, and we are encountering a significant issue with the In-App Purchases (IAP) functionality. When we initiate the IAP process to purchase a product, we do not receive any callback from the IAP plugin. This issue causes our game to get stuck, preventing users from receiving their rewards and completing the purchase process.
Steps to Reproduce:
Step1 : Integrate the HMS Evil Minds Plugin into a Unity project.
Step2 : Implement the IAP functionality as per the documentation.
Step3 : Attempt to purchase any product within the game.
Step4 : Observe that no callback is received from the IAP plugin.
Expected Behavior:
Upon initiating a purchase, the IAP plugin should return a callback indicating the success or failure of the transaction, allowing the game to proceed and the user to receive their rewards.
Actual Behavior:
No callback is received from the IAP plugin, causing the game to hang and preventing the user from receiving their purchased rewards.
Environment:
HMS Evil Minds Plugin Version: 2.3.7
Unity Version: 2021.3.4f1
Additional Information:
We have verified that the IAP configuration and setup are correct as per the documentation.
No errors or logs are generated when the issue occurs, making it difficult to diagnose the problem.
Please investigate this issue at your earliest convenience, as it is critically affecting our game's user experience. If you require any further information or logs, we would be happy to provide them.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: