Skip to content
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

how to identify payment is success or not when payment is done #1052

Closed
cyberlobedeveloper opened this issue Jul 21, 2020 · 4 comments
Closed
Labels
🥺 feature request Request a new feature 🚶🏻 stale Stale

Comments

@cyberlobedeveloper
Copy link

cyberlobedeveloper commented Jul 21, 2020

Version of react-native-iap

4.4.4

Version of react-native

0.61.5

Platforms you faced the error (IOS or Android or both?)

IOS

Tested environment (Emulator? Real Device?)

Real Device

Steps to reproduce the behavior

  1. I use "finishTransactionIOS" method for the transaction. With particular function I am not able to get purchased item from apple so is there any mistake by me here to call function. Please find attached sources as well to check.
  2. When open app at that using "requestPurchase" this method. With this function also I am not able to get product purchased by user. It is working fine with sandbox environment by not working with live.

note : for android it works fine.

  1. click purchase
    Screen Shot 2020-07-21 at 8 25 42 PM
  2. check purchased (componentDidMount )
    Screen Shot 2020-07-21 at 8 27 16 PM
@hyochan
Copy link
Owner

hyochan commented Sep 14, 2020

Also asked in #1100

@hyochan hyochan added 🥺 feature request Request a new feature 📱 iOS Related to iOS and removed 📱 iOS Related to iOS labels Sep 14, 2020
@hyochan
Copy link
Owner

hyochan commented Sep 14, 2020

Well, the question seems pretty ambiguous. The payment is successful when it comes to purchaseUpdatedListener. You are calling finishTransactionIOS just to acknowledge the purchase so that it won't refund.

@stale
Copy link

stale bot commented Dec 19, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

@stale stale bot added the 🚶🏻 stale Stale label Dec 19, 2020
@stale
Copy link

stale bot commented Jan 19, 2021

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥺 feature request Request a new feature 🚶🏻 stale Stale
Projects
None yet
Development

No branches or pull requests

2 participants