In my app , there is functionality called in app subscription which is auto renewal . In app there is a feature called "Cancel Upgrade".
What I want is If user cancel the subscription then his/her subcription will be cancelled not refundable but just cancelled.
I go through this link and found below note:
You cannot use the API to issue refunds or cancel In-app Billing transactions. You must do this manually through your Google payments merchant account. However, you can use the API to retrieve order information.
But i want my user to cancel his/her upgrade.
Is there any way to do this or please provide alternate solution for this.
Thanks in advance.
Find and tap the app you would like an in-app purchase refund for. 3. Tap the “Refund” button. 4.
From the in app subscription guide,
Users can view the status of all of their subscriptions and cancel them if necessary from the My Apps screen in the Play Store app. Currently, the In-app Billing API does not provide support for programatically canceling subscriptions from inside the purchasing app.
Thus, the user won't be able to cancel their subscription from the app itself, but you can invite them to viist the My Apps section on the Play Store to cancel it.
You can try Google Play Developer API, a REST-based web service that includes Subscriptions and In-App Purchases API
Purchases.subscriptions: cancel
Cancels a user's subscription purchase. The subscription remains valid until its expiration time.
User Billing
Google Play provides a purchase token back to the purchasing app through the In-app Billing API. Your apps can store the token locally or pass it to your backend servers, which can then use it to validate or cancel the subscription remotely using the Google Play Developer API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With