As of Feb 1 of 2022, allowing anonymous rentals is not an option on your AIM Storefront website. There are a few benefits of forcing an account to be created before a rental is completed. The main reason is to prevent malicious attacks against your payment processor. When a user is logged in, we can limit the amount of times they submit payment information.


Another benefit is going to be the amount of work you won't need to do after a rental is completed. When a rental is completed in the AIMStorefront, if your customer is not logged into a storefront account, you both will have to complete extra steps later when they want to view their invoices or pay for their rentals online. 


Here is our article on how to Link Customer Accounts in AIM and Storefront 


Below you will find instructions on how to edit your rental preview page. This is the page that forces your customers to log in or create an account before checking out with a credit card.



This is pretty easy and involves just two steps:


Inserting code into a Topic

In /aesys, go to Content > Manage Topics and search for the topic called "aeC2BRentalFinalizeanon". If this topic does not exist yet, you may need to create it. You will want to use the "<>html" view in the topic editor and add this code into the topic:


<div class="alert alert-danger" role="alert">

You must have established an account prior to continuing with the Online Rental Process. To do so, you must either 

<a href="(!SignInOutLink!)"><span style="font-size: 12pt;"><strong>Login</strong></span></a> or <a href="javascript: window.open('/createaccount.aspx?returnurl=' + encodeURIComponent('(!INVOCATION!)'), '_self');"><span style="font-size: 12pt;"><strong>Create an Account</strong></span></a> to continue.

</div>

<ul class="list-group"> 

    <li class="list-group-item">Instrument: (!C2B_NRINSTDESC!)</li> 

    <li class="list-group-item">Down Payment: $(!C2B_NRRATEDOWNPAY!)</li> 

    <li class="list-group-item">Monthly Payment : $(!C2B_NRRATEMOPAY!)</li> 

    <li class="list-group-item">Maintenance Cost : $(!C2B_NRRATEMOMAINT!)</li>

</ul>


The red text above can be edited with a more personal message. Be careful when editing html as removing or editing certain parts of the code can cause your page to fail.


*If you do not want to show your maintenance costs before the final checkout page, you can remove the purple line of text from the code above.


**NOTE** for sites using GlobalConfig Parameters - UrlMode - Modern or Modern with Legacy 301 Redirects : You will need to replace the /createaccount.aspx in the above code with /account/create , leaving all other text intact.


Your topic should now look like this: 





Once you publish and save the topic, it will show you the design mode window, with a more accurate depiction of what the page will look like on screen.


Checking your settings

The second step isn't really a step because this setting is probably set to False already. Look up a setting called "aeRequireAccountForRentals" and make sure that is set to "False". 


Now that you have configured the store, be sure to "Refresh Store" and logout of /aesys before checking to make sure this works on the customer facing side of your rental checkout. 

 

Troubleshooting

The most common issue we see here is that folks have not been publishing the topic aeC2BRentalFinalizeanon. You can see in the image above that the checkbox for "Published" needs to be checked. 


If your topic is not published, please check the box, save the topic, and then refresh store before logging out and checking the customer facing pages.


If you need to allow anonymous rentals:


There is still a setting in the store, although it's hidden. If you need to allow anonymous rentals you can add a setting called "aeAllowAnonRentals" and then set that to true. This potentially leaves your site unprotected against carding and other attacks on your payment gateway. ONLY use this setting if you understand and accept all risks associated with it. If you're not sure, email us at aimstorefront@vortx.com to discuss the dangers of reactivating this setting. 



Advanced Options:


If you would like a more robust rental sign-in page, you can further edit the "aeC2BRentalFinalizeanon" topic to include the default options for Accessories, Maintenance, and Delivery Options. To do this, replace the <html> of your topic with this: 


<div class="alert alert-danger" role="alert">
You must have established an account prior to continuing with the Online Rental Process. To do so, you must either
<a href="(!SignInOutLink!)"><span style="font-size: 12pt;"><strong>Login</strong></span></a> or <a href="javascript: window.open('/createaccount.aspx?returnurl=' + encodeURIComponent('(!INVOCATION!)'), '_self');"><span style="font-size: 12pt;"><strong>Create an Account</strong></span></a> to continue.
</div>

<ul class="list-group">
    <li class="list-group-item">Instrument: (!C2B_NRINSTDESC!)</li>
    <li class="list-group-item">Down Payment: $(!C2B_NRRATEDOWNPAY!)</li>
    <li class="list-group-item">Monthly Payment : $(!C2B_NRRATEMOPAY!)</li>
    <li class="list-group-item">Maintenance Cost : $(!C2B_NRRATEMOMAINT!)</li>
</ul>

<p>(!INSTRUMENT_TOPIC!) </p>

<p>(!PLAN_FINAL_TOPIC!) </p>

<div class="col-md-12">

<h2>Accessories</h2>
<table class="table">
    <tbody>
        <tr>
            <td>(!C2B_ACCESSORYTABLE!)</td>
        </tr>
    </tbody>
</table>

<h2>Maintenance</h2>
<table class="table">
    <tbody>
        <tr>
            <td>(!C2B_MAINTENANCETABLE!)</td>
        </tr>
    </tbody>
</table>

<h2>Delivery Options</h2>
<table class="table">
    <tbody>
        <tr>
            <td>(!C2B_DELIVERYTABLE!)</td>
        </tr>
    </tbody>
</table>

<table class="table">
    <tbody>
        <tr>
            <td class="text-right">Total Less Tax:
            <span class="C2BAmtToPayDisplay" style="font-weight: bold;"></span>
            <input aria-hidden="true" style="display: none;" readonly="readonly" value="0" name="C2BAmtToPay" />
            </td>
        </tr>
    </tbody>
</table>

</div>

The outcome should give you a page that looks similar to this: