We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

How to remove the Cancel and refund option from the My Account menu

If you'd like to remove the option for users to Cancel and refund their subscriptions via My Account:

image

You have 2 options. The first one is to uncheck this checkbox in the Piano dashboard's Edit Business section:

Allow.png

The second one would be to edit the My Account Library Components template by removing this code:

HTML
<tp-menu-item ng-click="refundPayment(libraryItem)" ng-show="libraryItem.cancelAndRefundEnabled">\n                            <span>\n                                <t context="checkout.platform">Cancel and refund subscription</t>\n                            </span>\n                        </tp-menu-item>
image-2

You can adjust the periods for which your users are able to issue a refund also via these settings under Edit Business.

Last updated: