# In-App Purchase in Ionic-React Second

**URL:** <https://forum.ionicframework.com/t/in-app-purchase-in-ionic-react-second/237357>\
**Category:** Ionic React\
**Created:** [October 30, 2023, 9:35am UTC](https://forum.ionicframework.com/t/in-app-purchase-in-ionic-react-second/237357 "2023-10-30T09:35:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keval-E0S](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@Keval-E0S](https://forum.ionicframework.com/u/Keval-E0S)\
**Post date:** [October 30, 2023, 9:35am UTC](https://forum.ionicframework.com/t/in-app-purchase-in-ionic-react-second/237357/1 "2023-10-30T09:35:31Z")

</div>

using ‘ionic-native/in-app-purchase2’ plugin

errors  
-plugin work but after solving all error it not show any popup.  
-cordova and ionic not support plugin.  
-on android app show ionic-native call but plugin not found (but meanwhile, I already installed plugin ).

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [October 30, 2023, 2:18pm UTC](https://forum.ionicframework.com/t/in-app-purchase-in-ionic-react-second/237357/2 "2023-10-30T14:18:45Z")

</div>

First off `ionic-native` is deprecated. See [A New Chapter for @ionic-native - Ionic Blog](https://ionic.io/blog/a-new-chapter-for-ionic-native).

Second, the creator of the Cordova plugin suggests using Cordova directly and not the Capacitor wrapper when using Capacitor since the wrapper is not up-to-date - [GitHub - j3k0/cordova-plugin-purchase: In-App Purchase for Cordova on iOS, Android and Windows](https://github.com/j3k0/cordova-plugin-purchase#note-for-capacitor-users)

---

<div class="post-metadata">

**Author:** ![ptmkenny](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@ptmkenny](https://forum.ionicframework.com/u/ptmkenny)\
**Post date:** [October 30, 2023, 4:28pm UTC](https://forum.ionicframework.com/t/in-app-purchase-in-ionic-react-second/237357/3 "2023-10-30T16:28:55Z")

</div>

It’s not just that the Capacitor wrapper is out of date-- the “wrapper” is the types, which are now included with the current version of the cordova plugin, so there’s no need for a wrapper anymore.
