Mercanet v2 Page

A template is a .zip file that contains all the resources (images, CSS, fonts..), allowing you to customize the look of the payment page. You have to

  1. Create your template base on our example, by respecting the naming of files and folders structures
  2. Test it with the Simulation Tools
  3. If it works in the Simulation Tools, then you can send it to LemonWay to ask for installation

Simulation Tools

You have the possibility to preview the result of your template by uploading it to the simulation interface:

URL: Simulation Interface

Connection Identifiers:

  • Name: lemonway

  • Merchant Identifier: 211040028100001

simulationtoolssimulationtools

Template example
Template.zip

  1. All the resource files (images/fonts, CSS) must be prefixed with the environment name. For eg: if your environment name is boutique and you are using the resource file logo.png in the template then please rename it to boutique_logo.png, and use boutique_logo.png in your CSS.
  • In case you have multiple templates, you will have to prefix each one of them differently but always start with your environment name. For example boutique_red_logo.png, boutique_yellow_logo.png
  • If you are not respecting this files naming rules, LemonWay will reject your templates
  1. The templates folders structure must be strictly respected (as in our example). Don't change the folder names, and don't remove empty folders.

templatetemplate

The default Windows zip tool automatically removes empty folders when making the zip => It is not good, you can try other tools for eg: 7Zip

  1. For each change in the .zip template (evens small ones), you have to test your template in the simulator before sending it to Lemonway. Please avoid making changes in your zip file at the last minute then send it to Lemonway without testing your "last minute" changes. Lemonway will deploy your template as-is, if it doesn't work as expected in the simulator it won't work on the production. A common mistake example: you want to use your own logo image in the .css
p.vendor{
background-repeat: no-repeat;
background:url(../images/logo.png) no-repeat left transparent;
...
}

then at the last minute, you rename the logo.png in your zip file to boutique_logo.png then send this zip to LemonWay without testing it again in the simulator. LemonWay will deploy your .zip as-is, and the payer won't see your logo because the file name in the .css and in the .zip are mismatched.