For invoice templates created before the Lightning interface was introduced, the online payment link may not work when the invoice was emailed using Lightning (it will still work when emailed using Classic). To make it work with Lightning, please follow the steps below:

Go to Payment Center Settings and click Customize Invoice button. Click Advance Edit to edit your template.

Search for the following:

<apex:outputLink rendered="{!Relatedto.Domain_Name__c != null}" value="https://{!Relatedto.Domain_Name__c}/fw1__Payment?invoiceId={!Relatedto.Id}&showInvoiceLines=true" >Click here to pay online</apex:outputLink>

And replace with:

<!-- credit card/echeck -->
 <apex:outputPanel rendered="{!Relatedto.Domain_Name__c != null}">
 <a href="https://{!Relatedto.Domain_Name__c}/fw1__Payment?invoiceId={!Relatedto.Id}&showInvoiceLines=true" >Click here to pay online</a>
 </apex:outputPanel>

Save your template.

Go to an invoice and click Email / Print Invoice PDF button:

Screen Shot 2018-01-16 at 2.33.08 PM

On the next page, click “Your invoice template may have changed. Click here to update your template.“:

Screen Shot 2018-01-16 at 2.34.46 PM

Test your template and make sure that the link is now working.

 

Was this article helpful?

Related Articles

Comments are closed.

  • About Us

    Kulturra.com builds enterprise apps on the Force.com platform. Our app, Payment Center, is currently one of the top financial apps in Salesforce. Since its launch in 2012, it's now being used by 1000+ Salesforce users and continues to grow.

  • Our Culture

    As a company, we believe in simple. So we build simple applications out of complex processes. We also provide unparalleled customer support because we truly believe that our customers' success is our success. Read more on what our customers say about us.
  • Check Our Customer Reviews

    2015sf_Partner_Available_On_appexchange_RGB_Gray_Border
Copyright © 2012-2018 Kulturra.com, Inc.
21151 S. Western Ave., Suite 215, Torrance, CA 90501, USA
MSA
All trademarks, trade names and logos appearing on the site are the property of their respective owners.
^ Back to Top