Giter Club home page Giter Club logo

Comments (6)

12343954 avatar 12343954 commented on June 26, 2024

image

RNIap.buyItem().catch() // catch lots of codes < 0 ,what's that means ?

from react-native-iap.

JJMoon avatar JJMoon commented on June 26, 2024

OK. According to document below, paymentWithProductIdentifier is deprecated.
https://developer.apple.com/documentation/storekit/skpayment/1623907-paymentwithproductidentifier
But, I don't this this api slow down the purchasing process. The purchasing process in iOS takes times more than we usually expect. But, we will change that in the next deployment.

from react-native-iap.

12343954 avatar 12343954 commented on June 26, 2024

thank you for reply! i know it !

but another question is:
RNIap.buyItem(item) can receive the receipt , but it returns lots of code < 0 some times .
i see the inner exception, it shows "Unable to connect to the iTunes Store. "
is it means i lost the purchase order, even the user paid the money ?!
or "receive the receipt " means "purchase successfully" ?
thank you !

from react-native-iap.

12343954 avatar 12343954 commented on June 26, 2024

image

from react-native-iap.

JJMoon avatar JJMoon commented on June 26, 2024

OK. If you got the receipt, your purchase transaction was successful.
The case of crash ? (the image above) looks like normal failure process.
Would you describe the steps more detail ?

from react-native-iap.

JJMoon avatar JJMoon commented on June 26, 2024

@12343954 Any progress on this issue? We made some more protective code to iOS side. Would you try again? I will close this issue in the near future.

from react-native-iap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.