Link a custom customer portal in Failed Payment Recovery notifications
If you use a custom customer portal, you can configure Failed Payment Recovery notifications to direct customers to your own payment methods page while continuing to use Recharge's Failed Payment Recovery analytics.
This guide explains how to configure a custom customer portal URL in your Failed Payment Recovery strategy.
Before you start
- Your custom customer portal must include a page where customers can update their payment method.
- Recharge recommends using a cookie-based authentication flow so logged-in customers are taken directly to the payment methods page, while unauthenticated customers are redirected to sign in before updating their payment information.
Step 1 - Configure your payment method URL
- In the Recharge merchant portal, click Churn tools and select Failed Payment Recovery.
- Create a new strategy or open a draft strategy.
- Under Where should the email CTA direct customers to update their payment methods?, select A custom URL in your customer portal.
- Enter your custom customer portal URL.
- Click Save and continue.
Step 2 - Review the notification
- Click the pencil icon next to one of the email notifications.
- Click Edit email body.
- Confirm that the notification contains the
{{ custom_portal_url }}variable.
Recharge automatically replaces this variable with the custom URL you configured when the notification is sent.
Expected outcome
Customers who receive a Failed Payment Recovery notification are directed to your custom customer portal when they click the payment update button. Recharge continues to track Failed Payment Recovery performance and email analytics while using your custom payment update experience.
Considerations
Consider the following:
Consideration | Notes |
| Custom customer portal URL | You must provide a static URL for your custom customer portal. Recharge recommends implementing a cookie-based solution that directs logged-in customers to the payment methods page and redirects customers who are not signed in to the account login page before taking them to update their payment method. Recharge doesn't validate or support custom authentication flows. |
