MAUI: Plugin.InAppBilling: Cancellation, Upgrade, and Downgrade

Sreejith Sreenivasan 896 Reputation points
2024-11-18T07:51:39.5333333+00:00

I am using Plugin.InAppBilling for the subscription management in my MAUI application. I have successfully integrated the subscription payment and now I need to integrate the cancel, upgrade and downgrade.

Is it possible to cancel, upgrade and downgrade a subscription from app itself? From my research, app and play store doesn’t provide a direct API to cancel subscriptions. Instead, users must manage their subscriptions directly in the App/play Store. Is there any way to do it from the app itself?

Same way for Upgrading and Downgrading Subscriptions I found we can’t directly upgrade or downgrade subscriptions programmatically within the app. We can guide users to the subscription management screen in both platforms. When redirecting the users to subscription management screen how the plans will list over there? If the user choose a higher plan is store handle their payment and if they downgrade any refund will initiate?

Is there any way to do it from the app itself? I found on this thread, they are discussing about the getBuyIntentExtraParams that support upgrading and downgrading subscription. But I didn't clearly understood.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,705 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ki-lianK-7341 500 Reputation points
    2024-11-18T08:03:24.7933333+00:00
    1. Canceling Subscriptions:
      • No Direct API: Users must manage cancellations in the App Store or Google Play Store.
      • Redirect Users: Guide them to the subscription management screen.
    2. Upgrading/Downgrading Subscriptions:
      • No Direct API: Users must upgrade/downgrade in the store.
      • Redirect Users:
      • Google Play: Use getBuyIntentExtraParams for subscription changes.
      • App Store: Use a URL scheme to open the subscription management page.
    3. Handling Payments and Refunds:
      • Higher Plan: Store handles payment.
      • Downgrading: Store manages refunds.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.