RenewAhead

Let customers renew a service for several billing periods at once, with optional discounts for longer terms.

Thank you for your purchase!

Installation

Step 1: Upload Extension Files

Upload the RenewAhead files to your Paymenter installation:

/var/www/paymenter/extensions/Others/RenewAhead/

Step 2: Enable Extension

Admin Panel → Extensions → Others → RenewAhead → Enable

Migrations run automatically when the extension is enabled, and again after an update.

Step 3: Theme Integration

This step is required. The button only appears on the service page after these two changes to themes/default/views/services/show.blade.php .

Change 1: the button row condition

In an untouched show.blade.php (Paymenter 1.5.8, 150 lines), line 68 reads:

@if($service->cancellable || $service->upgradable || count($buttons) > 0)

Replace that line with these three:

@php($canRenewAhead = view()->exists('renewahead::service-button')
    && \Paymenter\Extensions\Others\RenewAhead\Services\RenewAheadService::isEligible($service))
@if($service->cancellable || $service->upgradable || count($buttons) > 0 || $canRenewAhead)

Change 2: the button itself

Line 71 reads <div class="mt-2 flex flex-row gap-2 flex-wrap"> . Add this directly after it, just before @if($service->upgradable) :

@if($canRenewAhead)
    @include('renewahead::service-button')
@endif

Then clear the compiled views:

php artisan view:clear

Need Help?

Join our Discord Server and open a ticket for support.

© 2026 RenewAhead - BuiltByOtte . All rights reserved.