Corporate PayPage
Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Platform-Kurz |
---|
PageWithExcerpt | Wording |
---|
|
forms are framed as standard in white and grey. Merchants can customise the layout of the forms with the help of layout parameters. The simplest way to change the layout is to set the parameters for the background colour (BGColor), background image (BGImage) and the font (FFace). You can use XSL-templates to change the layout further:
In the case of credit card payments you can change the parameter Template to create an individual layout for your PaySSL form which exactly matches the shop layout. To this end your graphic designer can design an HTML-template in the shop-design based on XSLT (Extensible Stylesheet Language Transformation). Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Helpdesk-Name |
---|
PageWithExcerpt | Wording |
---|
|
copies this XSLT-template to our Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Platform-Name |
---|
PageWithExcerpt | Wording |
---|
|
Server. If you enter the name of your XSLT-file in the Template parameter, the Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Platform-Name |
---|
PageWithExcerpt | Wording |
---|
|
form will appear in your layout.
For general information about XSLT see www.w3.org.
Please note, that the Corporate Paypage is a fee-based additional service. Please ask Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Sales-Name |
---|
PageWithExcerpt | Wording |
---|
|
thereun.
Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
provides a programming example for creating a responsive credit card form online at https://www.computop.com/de/xslt. The template files to be created – XSL and XML – afterwards are transformed automatically for the various browsers. Please ensure before sending to Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
that both files can be loaded into the browser correctly. The complete code must be able to be displayed and no error message are allowed. If an error message occurs the code and used tags have to be revised. Please note that new versions must be available not later then 3:30 pm in order to to be processed on the same day.
The subsequent conventions apply for the use of the Corporate Paypage with XSLT:
A XSL file designed by you defines your individual layout. The associated XML file contains the texts that are to be displayed on the form. Hence, multilingualism is easy. Always use your MerchantID in the names of the file.
Table Filter |
---|
inverse | false |
---|
sparkName | Sparkline |
---|
hidePane | true |
---|
separator | Point (.) |
---|
ddSeparators | true |
---|
default | Beispiel/Aufbau&&Wert |
---|
isFirstTimeEnter | true |
---|
hideColumns | true |
---|
datepattern | dd M yy |
---|
id | 1624991463514_1417023331 |
---|
worklog | 365|5|8|y w d h m|y w d h m |
---|
isOR | AND |
---|
order | 0 |
---|
|
Multiexcerpt |
---|
MultiExcerptName | XSL_SSLFilenames |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
| Value | Wert | Example/Pattern | Beispiel/Aufbau |
---|
XSL template
| XSL-Template | MerchantID_PaySSL.xsl | MerchantID_PaySSL.xsl | XML text file
| XSL-Textdatei | MerchantID_PaySSL.xml | MerchantID_PaySSL.xml | Sub-folder for images | Unterordner für Bilder | Templates/imagesMerchantID | Templates/imagesMerchantID |
|
|
In order not to receive safety notices, please ensure that external image sources are retrieved via SSL.
In order to call the individual layout, use the ‘template’ parameter with your MerchantID and attach it unencrypted to the call of the Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
payment page, for example: Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | BaseURL |
---|
PageWithExcerpt | Wording |
---|
|
payssl.aspx?MerchantID=IhreMID&Len=123&Data=AGSDJ…ASDF&template=IhreMerchantID
When implementing the text field for the credit card number, use the following values for the parameters ‘name’ and ‘id’:
Table Filter |
---|
inverse | false |
---|
sparkName | Sparkline |
---|
hidePane | true |
---|
separator | Point (.) |
---|
ddSeparators | true |
---|
default | Feldname (Name) |
---|
isFirstTimeEnter | false |
---|
hideColumns | true |
---|
datepattern | dd M yy |
---|
id | 1624991766723_687737140 |
---|
worklog | 365|5|8|y w d h m|y w d h m |
---|
isOR | AND |
---|
order | 0 |
---|
|
Multiexcerpt |
---|
MultiExcerptName | XSL_Fieldnames |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
| Id | Field Name (Name) | Feldname (Name) |
---|
cardExpirationYear | Year of expiry | Ablaufdatum Jahr | cardExpirationMonth | Expiry date month | Ablaufdatum Monat | cardNumber | Credit card number | Kreditkartennummer | cccvc | Card verification code | Kartenprüfnummer | ccBrand | Card brand | Kartenmarke |
|
|
A text field for the input of the credit card number is then implemented as follows:
Multiexcerpt |
---|
MultiExcerptName | InputField |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
| <input type="text" name="cardNumber" id= "cardNumber" value=""></input> |
|
The following hidden fields must be implemented so that the values can be passed on when sending the form:
Table Filter |
---|
inverse | false |
---|
sparkName | Sparkline |
---|
hidePane | true |
---|
separator | Point (.) |
---|
ddSeparators | true |
---|
default | Bemerkungen&&Wert |
---|
isFirstTimeEnter | false |
---|
hideColumns | true |
---|
datepattern | dd M yy |
---|
id | 1624992315882_-1506195832 |
---|
worklog | 365|5|8|y w d h m|y w d h m |
---|
isOR | AND |
---|
order | 0 |
---|
|
Multiexcerpt |
---|
MultiExcerptName | XSL_HiddenFields |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
| Id | Value | Wert | Notes | Bemerkungen |
---|
MerchantID | MerchantID | MerchantID | MerchantId assigned by Multiexcerpt include |
---|
SpaceWithExcerpt | EN |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
| Multiexcerpt include |
---|
SpaceWithExcerpt | DE |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | DE:Wording |
---|
|
| Len | Request length | Request-Länge | Length of unencrypted (!) data before encryption | Länge des unverschlüsselten Data-Strings vor der Verschlüsselung | Data | Request data | Request-Daten | Encrypted data | Verschlüsselte Daten | Template | Template | Template | Template name | Template Name | Counter | Repeat attempts | Wiederholversuche |
|
| Language | Language | Sprache |
|
| Notify | Notify | Notify | optional in the case of repeat attempts | optional bei Wiederholversuchen | AddrChoice | Address choice | Adressenauswahl | Only with American Express Adress Verification Service | Nur bei American Express Adress Verification Service |
|
|
The language selection in form PaySSL.aspx is automatically based on the parameter Language. Other language areas are filtered out. If you wish to access the field of another language area e.g. with JavaScript, you can do so via the following path: /language/@name.
The ‘language’ parameter controls which section of the XML text file is read out. German ‘de’ is always used as standard.
The XML file should have the following basic structure:
Multiexcerpt |
---|
MultiExcerptName | XML_language |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
| <?xml version="1.0" encoding="windows-1252"?>
</languages>
<language name="de">
</language>
<language name="en">
</language>
</languages> |
|
‘UTF-8
’ is also possible for the encoding.With <xsl:variablename=““ select=“/language/@name”/>
you can directly address an XML language section from the XSL file.
For an overview of which parameters are additionally rendered by the PaySSL, please examine the following structure (XSL file is rendered against the following XML string):
Multiexcerpt |
---|
MultiExcerptName | XML_pay_ssl |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
| strXML = "<?xml version='1.0' encoding='windows-1252'?>" & _
"<paygate pay='ssl'>" & _
"<merchantID>"..."</merchantID>" & _
"<len>"..."</len>" & _
"<data>"..."</data>" & _
"<Background>"..."</Background>" & _
"<BGImage>"..."</BGImage>" & _
"<BGColor>"..."</BGColor>" & _
"<FFace>"..."</FFace>" & _
"<FSize>"..."</FSize>" & _
"<FColor>"..."</FColor>" & _
"<center>"..."</center>" & _
"<CCard>"..."</CCard>" & _
"<Year>"..."</Year>" & _
"<URLBack>"..."</URLBack>" & _
"<twidth>"..."</twidth>" & _
"<theight>"..."</theight>" & _
“<brands><brand>”…”</brand></brands>” &_
“<cvc>”…”</cvc>” &_
"<ccexpiryyear>" … "</ccexpiryyear>" & _
"<ccbrand>" … "</ccbrand>" & _
"<template>"..."</template>" & _
"<counter>"… "</counter>" & _
"<notify>"… "</notify>" & _
"<errorcode>"..."</errorcode>" & _
"<PCNr>"..."</PCNr>" & _
"<PCNrBrand>"... "</PCNrBrand>" & _
"<PCNrMonth>"… "</PCNrMonth>" & _
"<PCNrYear>"… "</PCNrYear>" & _
“<creditcardholder>” … “</creditcardholder>” & _
"<Autostart>"…"</Autostart>" & _
<language/@name ... (Area for selected language-Node)
(content of MerchantId_PaySSL.xml in the respective language)>
"</paygate>" |
|
Since merchants use its own layout for the form, you do not require the layout parameter. However, it is possible after prior consultation with Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
to use the parameters for the transfer, e.g. the SessionID.
In the case of the error codes listed below Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
returns the form in order to enable the credit card data to be entered again. You only have to evaluate the ‘error code’ parameter and display the desired text from your XML file.
At this point the ‘error code’ template is called:
Multiexcerpt |
---|
MultiExcerptName | errorcode1 |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
<xsl:apply-templates select=“/paygate/errorcode” /> |
|
The called-up ‘error code’ template may look like this. It can alternatively be implemented with ‘if’.
Multiexcerpt |
---|
MultiExcerptName | errorcode2 |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
<xsl:template match="errorcode">
<tr>
<td>
<xsl:choose>
<xsl:when test=".='0015'">
<xsl:value-of select="//language/ErrorCodeDescription/Description1"/>
<!--The input of the credit card number was not correct-->
</xsl:when>
...
</xsl:choose>
</td>
</tr>
</xsl:template> |
|
It is also possible to integrate the error messages directly into the (main) template:
Multiexcerpt |
---|
MultiExcerptName | errorcode3 |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
<xsl:if test="paygate/errorcode != ''">
<xsl:choose>
<xsl:when test="paygate/errorcode='0015'">
<xsl:value-of select="/paygate/language/ErrorCodeDescription/Description1"/>
<!--The input of the credit card number was not correct-->
</xsl:when>
</xsl:choose>
</xsl:if> |
|
If JavaScript functions are desired, you must implement them in your template.
Multiexcerpt |
---|
MultiExcerptName | JavaScript |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
<script id=“clientEventHandlersJS“ language=“JavaScript“>
if (document.SSLForm.cardNumber.value.length> 19)
{
alert(„<xsl:value-of select=“/paygate/language/strJavaScript1“/>“);
document.SSLForm.cardNumber.focus();
}
...
</script> |
|
Please do not use any external link to your JavaScript.
Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
is obliged to provide the cardholder at all times with information on which server they are on. Please implement a Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
logo like it is implemented on the standard form or display a small imprint link. Logos are part of the programming examples.
Both items of information must refer to the Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
page impressum.aspx. This expects the ‘Data’ parameter, which is appended to the URL as in the following example.
Multiexcerpt |
---|
MultiExcerptName | impressum |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
impressum.aspx?data=<xsl:value-of select="/paygate/language/@name"/>|<xsl:value-of select="paygate/merchantID"/> |
|
Visa and MasterCard regulations require that your pay page displays the Visa Secure and SecureCode logo. Please link the Verified logo to vbv.aspx and the SecureCode logo to https://brand.mastercard.com/brandcenter/mastercard-brand-mark/downloads.html.
First design a HTML page with the layout for your payment page and initially save it for testing with the file extension .htm or .html. Open this file in the browser. Next, save this as an xsl file.
BASEURL= Multiexcerpt include |
---|
SpaceWithExcerpt | EN |
---|
MultiExcerptName | BaseURL |
---|
PageWithExcerpt | Wording |
---|
|
Multiexcerpt |
---|
MultiExcerptName | testing1 |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
<?xml version="1.0" encoding="windows-1252"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8"/>
<xsl:template match="/">
<html>
<head>
<title>PaySSL Template</title>
<script>Your JavaScript</script>
</head>
<body>
<form action="BASEURL/payinterim.aspx" method="POST">
Your form with hidden fields and xsl-tags
</form>
</body>
</html>
</xsl:template> |
|
In order to read the texts from the XML file, first of all create your tags in the desired language sections with the texts:
Multiexcerpt |
---|
MultiExcerptName | testing2 |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
<language name="de">
<strCCNumber>credit card number</strCCNumber>
</language> |
|
Subsequently, replace the text in the HTML by a reference to the respective section in the XML file:
Multiexcerpt |
---|
MultiExcerptName | testing3 |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
<xsl:value-of select="/paygate/language/strCCNumber"/> |
|
In order to test your template, we request that you integrate the following lines in your XML file only for the test (before sending it to Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Partner-Name |
---|
PageWithExcerpt | Wording |
---|
|
) and afterwards to call up the XML file in a browser. If no error is displayed you can send your template and the image folder in a Zip file to Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Helpdesk-Name |
---|
PageWithExcerpt | Wording |
---|
|
with a request to check and install it.
Multiexcerpt |
---|
MultiExcerptName | testing4 |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
Code Block |
---|
<?xml version="1.0" encoding="windows-1252"?>
<?xml-stylesheet type="text/xsl" href="templatename.xsl"?>
<paygate>
<languages>please omit for your layout tests
<language name="de">
</language>
<language name="en">
</language>
<languages>please omit for your layout tests
</paygate> |
|
In order to get an overview of the versions, please include the date and version number in the name of your Zip file.
As with the credit card form, it is now also possible to design your own XSLT templates for the SEPA direct debit form. In exactly the same way as with the credit card form, this is controlled via the ‘Template’ parameter. This can be called via the following URL:
Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | BaseURL |
---|
PageWithExcerpt | Wording |
---|
| paySDD.aspx?MerchantID=IhreMID&Len=123&Data=AGSDJ…ASDF&template=YourMerchantID
|
The files must use the following naming convention:
Table Filter |
---|
inverse | false |
---|
sparkName | Sparkline |
---|
hidePane | true |
---|
separator | Point (.) |
---|
ddSeparators | true |
---|
default | Beispiel/Aufbau&&Wert |
---|
isFirstTimeEnter | true |
---|
hideColumns | true |
---|
datepattern | dd M yy |
---|
id | 1624996200619_912601972 |
---|
worklog | 365|5|8|y w d h m|y w d h m |
---|
isOR | AND |
---|
order | 0 |
---|
|
Multiexcerpt |
---|
MultiExcerptName | XSL_SDDFilenames |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
| Value | Wert | Example/Pattern | Beispiel/Aufbau |
---|
XSL template
| XSL-Template | MerchantID_PaySDD.xsl | MerchantID_PaySDD.xsl | XML text file
| XSL-Textdatei | MerchantID_PaySDD.xml | MerchantID_PaySDD.xml | Sub-folder for images | Unterordner für Bilder | Templates/imagesMerchantID | Templates/imagesMerchantID |
|
|
Note: A Corporate Paypage offers you much more extended functions like for example a preconfiguration of card data which are not explained in detail here. For questions about extended functions please consult the Multiexcerpt include |
---|
SpaceWithExcerpt | ENWORK |
---|
MultiExcerptName | Helpdesk-Name |
---|
PageWithExcerpt | Wording |
---|
|
.