Capacitor: Question: Does capacitor supports In App Purchase for iOS

Created on 7 Jan 2019  路  13Comments  路  Source: ionic-team/capacitor

Need to implement In-app purchase for iOS. Does the capacitor provide some plugin for integrating this feature?

Or will I have to use some cordova plugin to integrate In-app purchase.

Most helpful comment

How is this just disregarded so easily? In App Purchase is a huge requirement seeing that Apple forces you to use their payment services for any kind of subscription and various other specific direct purchases.

All 13 comments

There is no core plugin for In App Purchase, not sure about 3rd party plugins

There is a cordova plugin for this that you can use called cordova-plugin-inapppurchase

There is a cordova plugin for this that you can use called cordova-plugin-inapppurchase

Did you ever manage to get that working together?

Yes all good.

Yes all good.

How did you get this to work?

Yes all good.

How did you get this to work?

You have to edit al the source files cordova used to do. Open an iap ionic app and look through the files. I remember editing android file to include the billing key, but it might require some more

How is this just disregarded so easily? In App Purchase is a huge requirement seeing that Apple forces you to use their payment services for any kind of subscription and various other specific direct purchases.

Yes all good.

How did you get this to work?

Was seamless for me. Command based integration just worked out of the box without any changes.

How is this just disregarded so easily? In App Purchase is a huge requirement seeing that Apple forces you to use their payment services for any kind of subscription and various other specific direct purchases.

Since making money is for businesses - its probably a premium API offered by Ionic for money.

Yes all good.

How did you get this to work?

You have to edit al the source files cordova used to do. Open an iap ionic app and look through the files. I remember editing android file to include the billing key, but it might require some more

Hi Can you please explain which file I need to update to add my Billing key.. Thanks in advance

Yes all good.

How did you get this to work?

Was seamless for me. Command based integration just worked out of the box without any changes.

Is it also Worked for Android? It's not working on Android for me. I'm getting this error continuously that { errorCode: -2, message: "Billing is not initialized", code: -2 }

Yes all good.

How did you get this to work?

Was seamless for me. Command based integration just worked out of the box without any changes.

Hi @stripathix , Please share the solution I can take help of that.

馃憢

We now have a repo for Capacitor Community proposals.

This request has been moved to https://github.com/capacitor-community/proposals/issues/2. Please 馃憤 the issue if you'd like to see this plugin for Capacitor!

Thanks!
Ionitron 馃挋

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TayKara picture TayKara  路  3Comments

peterpeterparker picture peterpeterparker  路  3Comments

mlynch picture mlynch  路  3Comments

Kepro picture Kepro  路  3Comments

stripathix picture stripathix  路  3Comments