gio-plugins icon indicating copy to clipboard operation
gio-plugins copied to clipboard

In-App Payment

Open inkeliz opened this issue 2 years ago • 3 comments

Why that plugin should be added? Most of app-stores (Android, iOS) requires the usage of Google Play Billing and In-App Purchase.

What features this plugin should have and how it should work? Make possible to make payment, receive payment notifications and check payment status.

What alternatives you've considered? External payment/gateway is not allowed for Google Play/App Store.

Is this plugin implementable on all OSes (Android, iOS, macOS, WASM, Windows...)? iOS/macOS: https://developer.apple.com/documentation/storekit/in-app_purchase?language=objc Android: https://mvnrepository.com/artifact/com.android.billingclient/billing and https://developer.android.com/google/play/billing Javascript: https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API (nobody cares)

Did you known any particular limitation for specific OS? Each API is different.

inkeliz avatar Jul 19 '23 06:07 inkeliz

this lib covers all of the app stores: https://github.com/awa/go-iap

I assume you want to track that a user has paid for an app serverside.

gedw99 avatar Jul 25 '23 17:07 gedw99

also we need to provide the .well-known fields in the GUI so that the OS can fill them in automatically for the user. For web thats easy, but for GIO Mobile not sure yet.

gedw99 avatar Jul 25 '23 17:07 gedw99

this lib covers all of the app stores: https://github.com/awa/go-iap

I assume you want to track that a user has paid for an app serverside.

Thanks. I didn't know about that lib.

But, I want to implement the client-side, the code responsible to open that: image

inkeliz avatar Jul 27 '23 11:07 inkeliz

Ok i was not sure if you wanted client side or server side.

The client side would really help the gio ecosystem.

gedw99 avatar Jul 27 '23 11:07 gedw99