- Created by Peter Posse, last modified on 06. Aug 2024
Über Klarna Payments
Allgemeines zu Klarna Payments
Klarna bietet drei verschiedene Zahlungsarten in der neuen Klarna KP API über Computop an: Rechnungs- und Ratenkauf (Pay Later & Pay over time) sowie Sofort + abgesicherte Lastschrift (Pay Now). Dafür brauchen Sie während der Bestellung nur alle Rechnungsdaten an den Dienstleister zu übergeben. Dieser übernimmt dann den gesamten Aufwand der Rechnungsstellung und des nachgelagerten Debitorenmanagements. Als Händler bekommen Sie eine Zahlungsgarantie; egal welche Bezahlmöglichkeit ihr Kunde wählt. Dadurch erhalten Ihre Kunden mit Klarna finanzielle Flexibilität, denn sie können selbst flexibel zwischen Rechnungskauf oder Ratenkauf wählen. Beim Ratenkauf können Sie zudem die Höhe der Raten und Rückzahlungstermine selbst bestimmen. Die Rechnungslösung können sie auch für ihren B2B Handel einsetzen.
Der Ratenkauf im Online-Shop motiviert Ihre Kunden, hochwertige Warenkörbe zu bestellen. So erhöht sich auch Ihr Umsatz. Klarna gewährt im Bestellprozess sekundenschnell eine Online-Zusage für den Ratenkauf. Ein PostIdent-Verfahren ist nicht nötig. Klarna zahlt den Rechnungsbetrag kurzfristig an den Händler aus und trägt das Ausfallrisiko selbst. Als Händler profitieren Sie von schnell verfügbarer Liquidität.
Hinweis: Alle drei Zahlungsarten sind, mit Einschränkungen der abgesicherten Lastschrift, in den folgenden Ländern in der jeweiligen Landeswährung verfügbar: Deutschland, Österreich, Niederlande, Dänemark, Schweden, Norwegen, Finnland, Großbritannien, USA, Schweiz, Australien, Belgien, Spanien, Italien, Irland, Polen, Portugal, Frankreich und Kanada.
Logo | |
---|---|
Info | Das Paygate beherrscht Rechnungs- und Ratenkauf von Klarna. Sie profitieren dabei von einer Zahlungsgarantie und kurzen Auszahlungszyklen. Als dritte Variante integriert Klarna die Bezahlung per Sofort-Überweisung und abgesicherte Lastschrift. |
Typ | Gemischte Zahlarten |
Weitere Informationen finden Sie auch auf der Webseite von Klarna (https://www.klarna.de).
Klarna Payments unterscheidet zwischen einer Direktanbindung und der Klarna Hosted Payment Page (HPP).
Hinweis zur Buchung
Bitte beachten Sie, dass die Buchung (capture.aspx) manuell erfolgen muss, um die Zahlung durchzuführen und den Geldfluss zu initiieren.
Diagramm zum Prozessablauf Direktanbindung
Prozessablauf Klarna Payments Direktanbindung
Diagramm zum Prozessablauf HPP
Prozessablauf Klarna Payments HPP
Mit der Direktanbindung wird für jede Zahlungsart ein separates Widget per JavaScript eingebunden. Bei der HPP wird eine komplette Checkout-Seite angezeigt, auf der alle oder nur einige ausgewählte Zahlungsarten angezeigt werden. Sowohl die Widgets, als auch die HPP werden von einem Klarna-Server geladen.
Paygate-Schnittstelle
a alphabetisch as alphabetisch mit Sonderzeichen n numerisch an alphanumerisch ans alphanumerisch mit Sonderzeichen ns numerisch mit Sonderzeichen bool Bool’scher Ausdruck (true oder false) 3 feste Länge mit 3 Stellen/Zeichen ..3 variable Länge mit maximal 3 Stellen/Zeichen enum Aufzählung erlaubter Werte dttm ISODateTime (JJJJ-MM-TTThh:mm:ss) CND Bedingung (condition) M Pflicht (mandatory) O optional C bedingt (conditional) Hinweis: Bitte beachten Sie, dass die Bezeichnungen der Parameter in Groß- oder Kleinbuchstaben zurückgegeben werden können.Definitionen
Datenformate
Format Beschreibung Abkürzungen
Abkürzung Beschreibung Kommentar Wenn ein Parameter Pflicht ist, dann muss er vorhanden sein Wenn ein Parameter optional ist, dann kann er vorhanden sein, ist aber nicht erforderlich Wenn ein Parameter bedingt ist, dann gibt es eine Bedingungsregel, die angibt, ob er Pflicht oder optional ist
Klarna Session für die Direktanbindung erzeugen
Bevor die Klarna Widgets geladen werden können, muss eine Klarna Session erzeugt werden, die einen AccessToken zurückgibt. Dieser AccessToken wiederum muß zum Laden der Widgets benutzt werden. Um eine Session mit Klarna über eine Server-zu-Server-Verbindung zu beginnen, verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/KlarnaPayments.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Amount | "amount": { "value": ...} | n..10 | M | Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit). | Betrag in der kleinsten Währungseinheit (z.B. EUR Cent). Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TaxAmount | n..10 | OC | Gross amount of value added tax in the smallest currency unit (e.g. EUR Cent). The amount may not be negative. Mandatory if tax_rate and total_tax_amount is given within parameter ArticleList. Notice: The VAT included is calculated for 19% with the formula =gross prices / 1.19 * 0.19. Please contact the Computop Helpdesk, if you want to capture amounts < 100 (smallest currency unit). | Gesamtbetrag der MwSt. in der kleinsten Währungseinheit (z.B. EUR Cent). Der Betrag darf nicht negativ sein. Pflicht, wenn tax_rate und total_tax_amount im Parameter ArticleList angegeben sind. Hinweis: Die enthaltene MwSt. berechnet sich bei 19% mit der Formel =Bruttopreis / 1,19 * 0,19. Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Currency | "amount": { "currency": "..."} | a3 | M | Currency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table | Währung, drei Zeichen DIN / ISO 4217, z.B. EUR, USD, GBP. Hier eine Übersicht: A1 Währungstabelle |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
bdCountryCode | a2 | M | Country code for the invoicing address, 2 characters according to ISO 3166-1. Allowed are Germany <DE>, Austria <AT>, Netherlands <NL>, Denmark <DK>, Sweden <SE>, Norway <NO>, Finland <FI>, Great Britain <GB>, USA <US>, Switzerland (CH), Australia (AU), Belgium <BE>, Spain (ES), Italy <IT>, Ireland <IE>, Poland <PL>, <PT> Portugal, <FR> France and <CA> Canada. | Ländercode der Rechnungsadresse zweistellig gemäß ISO-3166-1. Erlaubt sind Deutschland <DE>, Österreich <AT>, Niederlande <NL>, Dänemark <DK>, Schweden <SE>, Norwegen <NO>, Finnland <FI>, Großbritannien <GB>, USA <US>, Schweiz <CH>, Australien <AU>, Belgien <BE>, Spanien (ES), Italien <IT>, Irland <IE>, Polen <PL>, <PT> Portugal, <FR> Frankreich und <CA> Kanada. | |
bdFirstName | "billing": {"consumer": { "firstName": "..." }} | ans..30 | C | First name. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Vorname. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
bdLastName | "billing": {"consumer": { "lastName": "..." }} | ans..30 | C | Last name. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Nachname. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
bdEmail | "billing": {"contactInfo": { "email": "..." }} | ans..80 | C | Email address. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Must include @ and domain. | E-Mail-Adresse. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Muss @ und Domain enthalten. |
bdCompany | "billing": {"business": { "companyLegalName": "..." }} | ans..200 | C | Company name, mandatory for B2B, must be the same as sdCompany. | Firmenname, Pflichtparameter für B2B, muss identisch sein mit sdCompany. |
bdRegion | "billing": {"addressInfo": { "region": "..." }} | ans..40 | O | Region | Gebiet |
bdTitle | "billing": {"consumer": { "salutation": "..." }} | ans..20 | O | Title of customer or contact person, e.g. Dr. or Prof. | Titel des Kunden oder der Kontaktperson, z.B. Dr. oder Prof. |
bdStreet | "billing": {"addressInfo": { "addressLine1": {"street+streetNumber": "..." }}} | a..32 | C | Street and street number. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Straße und Hausnummer. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Erlaubte Sonderzeichen: -'´`",.:;#&/()+@ °ºᵃª_ \ |
bdZip | "billing": {"addressInfo": { "postalCode": "..." }} | n..5 | C | Postal code. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. | Postleitzahl. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. |
bdCity | "billing": {"addressInfo": { "city": "..." }} | a..32 | C | Town/city. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. | Ort. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. |
bdAddressAddition | "billing": {"addressInfo": { "addressLine2": "..." }} | ans..60 | O | Additional/supplementary address line | Zusätzliche/ergänzende Adresszeile |
sdCountryCode | "shipping": {"addressInfo": { "country": { "A2": "..." }}} | a2 | O | Country code for the delivery address, 2 characters according to ISO 3166-1. Allowed are Germany <DE>, Austria <AT>, Netherlands <NL>, Denmark <DK>, Sweden <SE>, Norway <NO>, Finland <FI>, Great Britain <GB>, USA <US>, Switzerland (CH), Australia (AU), Belgium <BE>, Spain (ES), Italy <IT>, Ireland <IE>, Poland <PL>, <PT> Portugal, <FR> France and <CA> Canada. | Ländercode der Lieferadresse zweistellig gemäß ISO-3166-1. Erlaubt sind Deutschland <DE>, Österreich <AT>, Niederlande <NL>, Dänemark <DK>, Schweden <SE>, Norwegen <NO>, Finnland <FI>, Großbritannien <GB>, USA <US>, Schweiz <CH>, Australien <AU>, Belgien <BE>, Spanien (ES), Italien <IT>, Irland <IE>, Polen <PL>, <PT> Portugal, <FR> Frankreich und <CA> Kanada. |
sdFirstName | "shipping": {"consumer": { "firstName": "..." }} | ans..30 | C | First name. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Vorname. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
sdLastName | "shipping": {"consumer": { "lastName": "..." }} | ans..30 | C | Last name. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Nachname. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
sdEmail | "shipping": {"contactInfo": { "email": "..." }} | ans..80 | C | Email address. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Must include @ and domain. | E-Mail-Adresse. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Muss @ und Domain enthalten. |
sdCompany | "shipping": {"business": { "companyLegalName": "..." }} | ans..200 | C | Company name, mandatory for B2B, must be the same as bdCompany. | Firmenname, Pflichtparameter für B2B, muss identisch sein mit bdCompany. |
sdRegion | "shipping": {"addressInfo": { "region": "..." }} | ans..40 | O | Region | Gebiet |
sdTitle | "shipping": {"consumer": { "salutation": "..." }} | ans..20 | O | Title of customer or contact person, e.g. Dr. or Prof. | Titel des Kunden oder der Kontaktperson, z.B. Dr. oder Prof. |
sdStreet | "shipping": {"addressInfo": { "addressLine1": {"street+streetNumber": "..." }}} | a..32 | C | Street and street number. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Straße und Hausnummer. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Erlaubte Sonderzeichen: -'´`",.:;#&/()+@ °ºᵃª_ \ |
sdZip | "shipping": {"addressInfo": { "postalCode": "..." }} | n..5 | C | Postal code. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. | Postleitzahl. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. |
sdCity | "shipping": {"addressInfo": { "city": "..." }} | a..32 | C | Town/city. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. | Ort. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. |
sdAddressAddition | "shipping": {"addressInfo": { "addressLine2": "..." }} | ans..60 | O | Additional/supplementary address line | Zusätzliche/ergänzende Adresszeile |
Language | "language": "..." | a2 | M | Language for displaying the widgets: DE - German, DK - Danish, FI - Finnish, SE - Swedish, NO - Norwegian, NL - Dutsch, FR - French, IT - Italian, EN - English, ES - Spanish, CA - Catalan, PL - Polish | Sprache, in der die Widgets angezeigt werden sollen: DE - deutsch, DK - dänisch, FI - finnisch, SE - schwedisch, NO - norwegisch, NL - niederländisch, FR - französisch, IT - italienisch, EN - englisch, ES - Spanisch, CA - katalanisch, PL - polnisch |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
UserData | "metadata[userData]": "..." | ans..1024 | O | If specified at request, Paygate forwards the parameter with the payment result to the shop. | Wenn beim Aufruf angegeben, übergibt das Paygate die Parameter mit dem Zahlungsergebnis an den Shop. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
IPAddr | "browserInfo": {"ipAddress": "..."} | ans..15 | O | IP address of the client in the format IPv4 or IPv6 | IP-Adresse des Clients im Format IPv4 oder IPv6 |
Account | "payment": {"klarna": { "accountName": "..." }} | ans..12 | M | Within Paygate several Klarna user names can be stored on one MerchantID and controlled by the parameter Account. By default, please use the value "0", if you have several Klarna accounts, the values must be agreed with Computop Helpdesk. | Im Paygate können mehrere Klarna-Benutzernamen auf einer MerchantID hinterlegt und durch den Parameter Account angesteuert werden. Standardmäßig verwenden Sie bitte den Wert "0", bei mehreren Klarna-Accounts stimmen Sie die Werte bitte mit Computop Helpdesk ab. |
ArticleList | "order": {"items": "..."} | ans..2048 | M | Complete article list of the order. This parameter must be created in JSON format. The individual parameters in JSON format are following: name = Product name (mandatory) quantity = item quantity. The value may not be negative. (mandatory) unit_price = unit price inclusive taxes but without rebates. (mandatory) total_amount = total amount of iarticles inclusive taxes and rebates. (mandatory) image_url = URL for an image that can be embedded later in agreement with Klarna. (max. 1024 characters) merchant_data = "pass-through parameter" (max. 255 characters). Merchant must agree with Klarna what will be transmitted here. product_identifiers.brand = product brand product_identifiers.category_path = path of product category. As separator '>' has to be used. product_identifiers.global_trade_item_number = article number (e.g. EAN, ISBN or UPC). product_identifiers.manufacturer_part_number = manufacturer’s number product_url = URL to product image quantity_unit = unit of quantity (e.g. kg) reference = article number (e.g. SKU) tax_rate = tax rate as percentage (e.g. 25%). The percent sign must be replaced with two zeros, thus for example 2500. The value may not be negative. (Mandatory, if total_tax_amount or parameter TaxAmount is given.) total_discount_amount = total amount of rebate. The value may not be negative. total_tax_amount = total amount of taxes. The value may be negative, if type is 'discount'. (Mandatory, if tax_rate or parameter TaxAmount is given.) type = type of item position. Possible entries are <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Example: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Afterwards the article list created in JSON format must be Base64 encoded. | Komplette Artikelliste der Bestellung. Dieser Parameter muss im JSON-Format erstellt werden. Die einzelnen Parameter im JSON-Format sind folgende: name = Produktname (Pflicht) quantity = Artikelmenge. Der Wert darf nicht negativ sein. (Pflicht) unit_price = Einzelpreis inkl. Steuern aber exkl. Rabatte. (Pflicht) total_amount = Gesamtbetrag der Artikel inkl. Steuern und Rabatte. (Pflicht) image_url = URL zu einem Bild, welches später in Absprache mit Klarna eingebettet werden kann. (max. 1024 Zeichen) merchant_data = "Durchreich-Parameter" (max. 255 Zeichen). Was hier übermittelt wird, muss mit Klarna abgestimmt werden. product_identifiers.brand = Produktmarke product_identifiers.category_path = Pfad der Produktkategorie. Als Trennzeichen muss '>' verwendet werden. product_identifiers.global_trade_item_number = Artikelnummer (z.B. EAN, ISBN oder UPC). product_identifiers.manufacturer_part_number = Herstellernummer product_url = URL zum Produktbild quantity_unit = Mengeneinheit (z.B. kg) reference = Artikelnummer (z.B. SKU) tax_rate = Steuersatz in Prozent (z.B. 25%). Das Prozentzeichen muss durch zwei Nullen ersetzt werden, also zum Beispiel 2500. Der Wert darf nicht negativ sein. (Pflicht, wenn total_tax_amount oder Parameter TaxAmount angegeben ist.) total_discount_amount = Gesamtbetrag des Rabattes. Der Wert darf nicht negativ sein. total_tax_amount = Gesamtbetrag der Steuern. Der Wert darf negativ sein, wenn der type 'discount' ist. (Pflicht, wenn tax_rate oder Parameter TaxAmount angegeben ist.) type = Typ der Artikelposition. Mögliche Werte sind <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Beispiel: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Anschließend muss die im JSON-Format erstellte Artikelliste Base64 encodiert werden. |
EnhancedData | "payment": {"klarna": { "enhancedData": "..." }} | ans..2048 | O | Additional customer and order information for Klarna risk management. Merchant must agree with Klarna which data will be transmitted here. This parameter must be created in JSON format. Example: { "marketplace_seller_info": [ { "product_category": "Women's Fashion", "product_name": "Women Sweatshirt" } ] } Afterwards the additional information created in JSON format must be Base64 encoded. | Zusätzliche Kunden- und Bestellinformationen für das Klarna Risikomanagement. Welche Daten hier übermittelt werden, muss mit Klarna vereinbart werden. Dieser Parameter muss im JSON-Format erstellt werden. Beispiel: { "marketplace_seller_info": [ { "product_category": "Women's Fashion", "product_name": "Women Sweatshirt" } ] } Anschließend müssen die im JSON-Format erstellten Zusatzinformationen Base64 encodiert werden. |
Layout | "payment": {"klarna": { "layout": "..." }} | ans..2048 | O | Layout parameters for Klarna widgets. This parameter must be created in JSON format. Example: { "options": { "color_border": "#FF9900", "color_border_selected": "#FF9900", "color_button": "#FF9900", "color_button_text": "#FF9900", "color_checkbox": "#FF9900", "color_checkbox_checkmark": "#FF9900", "color_details": "#FF9900", "color_header": "#FF9900", "color_link": "#FF9900", "color_text": "#FF9900", "color_text_secondary": "#FF9900", "radius_border": "5px" } } Afterwards the layout parameters created in JSON format must be Base64 encoded. | Layout-Parameter für die Klarna-Widgets. Dieser Parameter muss im JSON-Format erstellt werden. Beispiel: { "options": { "color_border": "#FF9900", "color_border_selected": "#FF9900", "color_button": "#FF9900", "color_button_text": "#FF9900", "color_checkbox": "#FF9900", "color_checkbox_checkmark": "#FF9900", "color_details": "#FF9900", "color_header": "#FF9900", "color_link": "#FF9900", "color_text": "#FF9900", "color_text_secondary": "#FF9900", "radius_border": "5px" } } Anschließend müssen die im JSON-Format erstellten Layout-Parameter Base64 encodiert werden. |
URLConfirm | "urls": {"confirm": "..."} | ans..256 | M | Final URL for order confirmation to which Klarna forwards the customer after the order is successfully created within the Klarna system | Finale Bestellbestätigungs-URL, auf die Klarna den Kunden leitet, nachdem die Bestellung im Klarna-System erfolgreich angelegt wurde. |
URLNotify | "urls": {"notify": "..."} | ans..256 | O | Complete URL which Paygate calls up in order to notify the shop about the payment result, if a PENDING transaction was finalized. The URL may be called up only via port 443 It may not contain parameters: Use the UserData parameter instead. Processing of PENDING transactions must be activated at Computop as well as Klarna. URLNotify can also be stored with Computop. | Vollständige URL, die das Paygate aufruft, um den Shop zu benachrichtigen, wenn eine PENDING-Transaktion finalisiert wurde. Die URL darf nur über Port 443 aufgerufen werden. Sie darf keine Parameter enthalten: Nutzen Sie stattdessen den Parameter UserData. Die Verarbeitung von PENDING-Transaktionen muss sowohl bei Computop also auch bei Klarna freigeschaltet sein. Die URLNotify kann auch bei Computop hinterlegt werden. |
PayType | "payment": {"klarna": { "paymentType": "..." }} | enum | M | Customer selected Klarna payment method. Possible entries are Pay immediately (pay_now, direct_debit or direct_bank_transfer), Pay later (pay_later), Pay in installments (pay_over_time) or One Klarna (klarna). | Vom Kunden ausgewählte Klarna-Zahlungsart. Mögliche Werte sind Sofort bezahlen (pay_now, direct_debit oder direct_bank_transfer), Später bezahlen (pay_later), In Raten bezahlen (pay_over_time) oder One Klarna (klarna). |
Key | Format | CND | Personal details of customer | Personendaten des Kunden | |
DateOfBirth | "billing": {"consumer": { "birthdate": "..." }} | dttm | O | Date of birth in the format YYYY-MM-DD | Geburtsdatum im Format JJJJ-MM-TT |
Gender | "billing": {"consumer": { "gender": "..." }} | a..15 | O | Gender <female> for female, <male> for male | Geschlecht <female> für weiblich, <male> für männlich |
Title | "billing": {"consumer": { "salutation": "..." }} | a..12 | O | Salutation | Anrede |
SocialSecurityNumber | "billing": {"consumer": { "socialSecurityNumber": "..." }} | a..5 | O | Private individuals: The last four or five digits of the social security number. Not in DE, AT and NL. Obligatory field in SE, FI, DK with 4-digit value (NNNN). Obligatory field in NO with 5-digit value (NNNNN). | Bei Privatpersonen: Die letzten vier bis fünf Stellen der Sozialversicherungsnummer. Nicht in DE, AT und NL. Pflichtfeld in SE, FI, DK mit 4-stelligem Wert (NNNN). Pflichtfeld in NO mit 5-stelligem Wert (NNNNN). |
PersonID | "billing": {"consumer": { "consumerId": "..." }} | ans..15 | O | National identity number. Is necessary for example for a visa to entry the USA. For that purpose the serial number on the upper right side of the iodentity card may be used. | Nationale Identitätsnummer. Wird zum Beispiel für das Visum für die Einreise in die USA benötigt. Hierfür kann die Seriennummer rechts oben auf dem Personalausweis verwendet werden. |
LegalForm | "payment": {"klarna": { "legalForm": "..." }} | ans..50 | C | Type of company. Mandatory for B2B. Following values are possible:
| Firmentyp. Pflichtparameter für B2B. Folgende Werte sind möglich:
|
CompanyID | "billing": {"business": { "companyRegistrationNumber": "..." }} | ans..15 | O | For companies: Register of Companies number, only relevant but not mandatory for B2B. | Bei Unternehmen: Handelsregisternummer, nur für B2B von Bedeutung, aber kein Pflichtparameter. |
CompanyOrPerson | a2 | O | Indication whether it is a company or a person. <C> for companies, <P> for persons Please note that Klarna does not allow B2B transactions by default. Please contact Klarna if you also want to use the payment method for B2B transactions. | Angabe, ob es sich um eine Firma oder eine Person handelt. <C> für Firmen, <P> für Personen Bitte beachten Sie, dass seitens Klarna standardmäßig keine B2B-Transaktionen möglich sind. Bitte wenden Sie sich an Klarna, falls Sie die Zahlart auch für B2B-Transaktionen verwenden möchten. | |
VatID | "payment": {"klarna": { "vatId": "..." }} | ans..15 | O | VAT identification number, only relevant but not mandatory for B2B. | Umsatzsteuer-Identifikationsnummer, nur für B2B von Bedeutung, aber kein Pflichtparameter. |
Parameter für Anlegen einer Session mit Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | AUTHORIZE_REQUEST (URLSuccess) and FAILED (URLFailure) | AUTHORIZE_REQUEST (URLSuccess) und FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
UserData | "metadata[userData]": "..." | ans..1024 | O | If specified at request, Paygate forwards the parameter with the payment result to the shop. | Wenn beim Aufruf angegeben, übergibt das Paygate die Parameter mit dem Zahlungsergebnis an den Shop. |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
Code | "code": ... | n1..8 | M | Error code according to Paygate Response Codes (A4 Error codes). Code "0": Please make now the authorisation via Klarna widget within the frontend. | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes). Code "0": Führen Sie nun die Autorisierung über das Klarna Widget im Frontend durch. | |
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
AccessToken | ans..2048 | O | Client token from Klarna. In order to be able to subsequently show the Klarna widgets, the Klarna JavaScript-API must be initialized with this token. | Client-Token von Klarna. Um anschließend die entsprechenden Klarna-Widgets anzeigen zu können, muss die Klarna JavaScript-API mit diesem Token initialisiert werden. | ||
PayType | enum | M | Customer selected Klarna payment method. Possible entries are Pay immediately (pay_now, direct_debit and direct_bank_transfer), Pay later (pay_later), Pay in installments (pay_over_time) or One Klarna (klarna). The returned value determines which widgets are allowed to be loaded. | Vom Kunden ausgewählte Klarna-Zahlungsart. Mögliche Werte sind Sofort bezahlen (pay_now, direct_debit und direct_bank_transfer), Später bezahlen (pay_later), In Raten bezahlen (pay_over_time) oder One Klarna (klarna). Der zurückgegebene Wert entscheidet darüber, welche Widgets geladen werden dürfen. |
Rückgabe-Parameter für Anlagen einer Session mit Klarna Payments
Klarna Widgets anzeigen
Klarna verwendet Widgets, um dem Kunden die möglichen Zahlungsarten anzuzeigen. Die zur Auswahl stehenden Zahlungsarten ergeben sich aus der zuvor ausgewählten Kategorie (siehe Klarna Session erzeugen, PayType). Die Einbindung der Widgets erfolgt mithilfe des AccessToken (siehe Klarna Session erzeugen, AccessToken) und des Klarna JavaScript SDK. Wie das Klarna JavaScript SDK eingebunden und initialisiert wird und wie die Widgets geladen werden, wird auf der Klarna Webseite beschrieben:
Nach erfolgreicher Autorisierung erhalten Sie einen Autorisierungs-Token (TokenExt), der für die Auftragsanlage benutzt werden muß.
Klarna Session für die HPP erzeugen
Um eine Zahlung über die Klarna HPP abzuwickeln, verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/KlarnaPaymentsHPP.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Amount | "amount": { "value": ...} | n..10 | M | Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit). | Betrag in der kleinsten Währungseinheit (z.B. EUR Cent). Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TaxAmount | n..10 | OC | Gross amount of value added tax in the smallest currency unit (e.g. EUR Cent). The amount may not be negative. Mandatory if tax_rate and total_tax_amount is given within parameter ArticleList. Notice: The VAT included is calculated for 19% with the formula =gross prices / 1.19 * 0.19. Please contact the Computop Helpdesk, if you want to capture amounts < 100 (smallest currency unit). | Gesamtbetrag der MwSt. in der kleinsten Währungseinheit (z.B. EUR Cent). Der Betrag darf nicht negativ sein. Pflicht, wenn tax_rate und total_tax_amount im Parameter ArticleList angegeben sind. Hinweis: Die enthaltene MwSt. berechnet sich bei 19% mit der Formel =Bruttopreis / 1,19 * 0,19. Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Currency | "amount": { "currency": "..."} | a3 | M | Currency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table | Währung, drei Zeichen DIN / ISO 4217, z.B. EUR, USD, GBP. Hier eine Übersicht: A1 Währungstabelle |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
RTF | --- | a1 | O | For repeat payments (subscriptions): I = Initial payment of a new subscription, R = Routine payment (Recurring). Due to the call of the HPP is always an initial payment of a subscription the value I must be transferred. | Bei wiederkehrenden Zahlungen (Abos): I = Initialzahlung eines neuen Abos, R = Wiederkehrende Zahlung (Recurring). Da es sich beim Aufruf der HPP immer um die Initialzahlung eines Abos handelt, muss der Wert I übergeben werden. |
bdCountryCode | a2 | M | Country code for the invoicing address, 2 characters according to ISO 3166-1. Allowed are Germany <DE>, Austria <AT>, Netherlands <NL>, Denmark <DK>, Sweden <SE>, Norway <NO>, Finland <FI>, Great Britain <GB>, USA <US>, Switzerland (CH), Australia (AU), Belgium <BE>, Spain (ES), Italy <IT>, Ireland <IE>, Poland <PL>, <PT> Portugal, <FR> France and <CA> Canada. | Ländercode der Rechnungsadresse zweistellig gemäß ISO-3166-1. Erlaubt sind Deutschland <DE>, Österreich <AT>, Niederlande <NL>, Dänemark <DK>, Schweden <SE>, Norwegen <NO>, Finnland <FI>, Großbritannien <GB>, USA <US>, Schweiz <CH>, Australien <AU>, Belgien <BE>, Spanien (ES), Italien <IT>, Irland <IE>, Polen <PL>, <PT> Portugal, <FR> Frankreich und <CA> Kanada. | |
bdFirstName | "billing": {"consumer": { "firstName": "..." }} | ans..30 | C | First name. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Vorname. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
bdLastName | "billing": {"consumer": { "lastName": "..." }} | ans..30 | C | Last name. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Nachname. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
bdEmail | "billing": {"contactInfo": { "email": "..." }} | ans..80 | C | Email address. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Must include @ and domain. | E-Mail-Adresse. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Muss @ und Domain enthalten. |
bdCompany | "billing": {"business": { "companyLegalName": "..." }} | ans..200 | C | Company name, mandatory for B2B, must be the same as sdCompany. | Firmenname, Pflichtparameter für B2B, muss identisch sein mit sdCompany. |
bdRegion | "billing": {"addressInfo": { "region": "..." }} | ans..40 | O | Region | Region |
bdTitle | "billing": {"consumer": { "salutation": "..." }} | ans..20 | O | Title of customer or contact person, e.g. Dr. or Prof. | Titel des Kunden oder der Kontaktperson, z.B. Dr. oder Prof. |
bdStreet | "billing": {"addressInfo": { "addressLine1": {"street+streetNumber": "..." }}} | a..32 | C | Street and street number. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Straße und Hausnummer. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Erlaubte Sonderzeichen: -'´`",.:;#&/()+@ °ºᵃª_ \ |
bdZip | "billing": {"addressInfo": { "postalCode": "..." }} | n..5 | C | Postal code. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. | Postleitzahl. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. |
bdCity | "billing": {"addressInfo": { "city": "..." }} | a..32 | C | Town/city. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. | Ort. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. |
bdAddressAddition | "billing": {"addressInfo": { "addressLine2": "..." }} | ans..60 | O | Additional/supplementary address line | Zusätzliche/ergänzende Adresszeile |
sdCountryCode | "shipping": {"addressInfo": { "country": { "A2": "..." }}} | a2 | O | Country code for the delivery address, 2 characters according to ISO 3166-1. Allowed are Germany <DE>, Austria <AT>, Netherlands <NL>, Denmark <DK>, Sweden <SE>, Norway <NO>, Finland <FI>, Great Britain <GB>, USA <US>, Switzerland (CH), Australia (AU), Belgium <BE>, Spain (ES), Italy <IT>, Ireland <IE>, Poland <PL>, <PT> Portugal, <FR> France and <CA> Canada. | Ländercode der Lieferadresse zweistellig gemäß ISO-3166-1. Erlaubt sind Deutschland <DE>, Österreich <AT>, Niederlande <NL>, Dänemark <DK>, Schweden <SE>, Norwegen <NO>, Finnland <FI>, Großbritannien <GB>, USA <US>, Schweiz <CH>, Australien <AU>, Belgien <BE>, Spanien (ES), Italien <IT>, Irland <IE>, Polen <PL>, <PT> Portugal, <FR> Frankreich und <CA> Kanada. |
sdFirstName | "shipping": {"consumer": { "firstName": "..." }} | ans..30 | C | First name. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Vorname. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
sdLastName | "shipping": {"consumer": { "lastName": "..." }} | ans..30 | C | Last name. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Nachname. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
sdEmail | "shipping": {"contactInfo": { "email": "..." }} | ans..80 | C | E-mail address. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Must include @ and domain. | E-Mail-Adresse. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Muss @ und Domain enthalten. |
sdCompany | "shipping": {"business": { "companyLegalName": "..." }} | ans..200 | C | Company name, mandatory for B2B, must be the same as bdCompany. | Firmenname, Pflichtparameter für B2B, muss identisch sein mit bdCompany. |
sdRegion | "shipping": {"addressInfo": { "region": "..." }} | ans..40 | O | Region | Gebiet |
sdTitle | "shipping": {"consumer": { "salutation": "..." }} | ans..20 | O | Title of customer or contact person, e.g. Dr. or Prof. | Titel des Kunden oder der Kontaktperson, z.B. Dr. oder Prof. |
sdStreet | "shipping": {"addressInfo": { "addressLine1": {"street+streetNumber": "..." }}} | a..32 | C | Street name and street number. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Straße und Hausnummer. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Erlaubte Sonderzeichen: -'´`",.:;#&/()+@ °ºᵃª_ \ |
sdZip | "shipping": {"addressInfo": { "postalCode": "..." }} | n..5 | C | Postcode. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. | Postleitzahl. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. |
sdCity | "shipping": {"addressInfo": { "city": "..." }} | a..32 | C | City. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. | Ort. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. |
sdAddressAddition | "shipping": {"addressInfo": { "addressLine2": "..." }} | ans..60 | O | Additional/supplementary address line | Zusätzliche/ergänzende Adresszeile |
Language | "language": "..." | a2 | M | Language for displaying the widgets: DE - German, DK - Danish, FI - Finnish, SE - Swedish, NO - Norwegian, NL - Dutsch, FR - French, IT - Italian, EN - English, ES - Spanish, CA - Catalan, PL - Polish | Sprache, in der die Widgets angezeigt werden sollen: DE - deutsch, DK - dänisch, FI - finnisch, SE - schwedisch, NO - norwegisch, NL - niederländisch, FR - französisch, IT - italienisch, EN - englisch, ES - Spanisch, CA - katalanisch, PL - polnisch |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
UserData | "metadata[userData]": "..." | ans..1024 | O | If specified at request, Paygate forwards the parameter with the payment result to the shop. | Wenn beim Aufruf angegeben, übergibt das Paygate die Parameter mit dem Zahlungsergebnis an den Shop. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
IPAddr | "browserInfo": {"ipAddress": "..."} | ans..15 | O | IP address of the client in the format IPv4 or IPv6 | IP-Adresse des Clients im Format IPv4 oder IPv6 |
Account | "payment": {"klarna": { "accountName": "..." }} | ans..12 | M | Within Paygate several Klarna user names can be stored on one MerchantID and controlled by the parameter Account. By default, please use the value "0", if you have several Klarna accounts, the values must be agreed with Computop Helpdesk. | Im Paygate können mehrere Klarna-Benutzernamen auf einer MerchantID hinterlegt und durch den Parameter Account angesteuert werden. Standardmäßig verwenden Sie bitte den Wert "0", bei mehreren Klarna-Accounts stimmen Sie die Werte bitte mit Computop Helpdesk ab. |
ArticleList | "order": {"items": "..."} | ans..2048 | M | Complete article list of the order. This parameter must be created in JSON format. The individual parameters in JSON format are following: name = Product name (mandatory) quantity = item quantity. The value may not be negative. (mandatory) unit_price = unit price inclusive taxes but without rebates. (mandatory) total_amount = total amount of iarticles inclusive taxes and rebates. (mandatory) image_url = URL for an image that can be embedded later in agreement with Klarna. (max. 1024 characters) merchant_data = "pass-through parameter" (max. 255 characters). Merchant must agree with Klarna what will be transmitted here. product_identifiers.brand = product brand product_identifiers.category_path = path of product category. As separator '>' has to be used. product_identifiers.global_trade_item_number = article number (e.g. EAN, ISBN or UPC). product_identifiers.manufacturer_part_number = manufacturer’s number product_url = URL to product image quantity_unit = unit of quantity (e.g. kg) reference = article number (e.g. SKU) tax_rate = tax rate as percentage (e.g. 25%). The percent sign must be replaced with two zeros, thus for example 2500. The value may not be negative. (Mandatory, if total_tax_amount or parameter TaxAmount is given.) total_discount_amount = total amount of rebate. The value may not be negative. total_tax_amount = total amount of taxes. The value may be negative, if type is 'discount'. (Mandatory, if tax_rate or parameter TaxAmount is given.) type = type of item position. Possible entries are <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Example: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Afterwards the article list created in JSON format must be Base64 encoded. | Komplette Artikelliste der Bestellung. Dieser Parameter muss im JSON-Format erstellt werden. Die einzelnen Parameter im JSON-Format sind folgende: name = Produktname (Pflicht) quantity = Artikelmenge. Der Wert darf nicht negativ sein. (Pflicht) unit_price = Einzelpreis inkl. Steuern aber exkl. Rabatte. (Pflicht) total_amount = Gesamtbetrag der Artikel inkl. Steuern und Rabatte. (Pflicht) image_url = URL zu einem Bild, welches später in Absprache mit Klarna eingebettet werden kann. (max. 1024 Zeichen) merchant_data = "Durchreich-Parameter" (max. 255 Zeichen). Was hier übermittelt wird, muss mit Klarna abgestimmt werden. product_identifiers.brand = Produktmarke product_identifiers.category_path = Pfad der Produktkategorie. Als Trennzeichen muss '>' verwendet werden. product_identifiers.global_trade_item_number = Artikelnummer (z.B. EAN, ISBN oder UPC). product_identifiers.manufacturer_part_number = Herstellernummer product_url = URL zum Produktbild quantity_unit = Mengeneinheit (z.B. kg) reference = Artikelnummer (z.B. SKU) tax_rate = Steuersatz in Prozent (z.B. 25%). Das Prozentzeichen muss durch zwei Nullen ersetzt werden, also zum Beispiel 2500. Der Wert darf nicht negativ sein. (Pflicht, wenn total_tax_amount oder Parameter TaxAmount angegeben ist.) total_discount_amount = Gesamtbetrag des Rabattes. Der Wert darf nicht negativ sein. total_tax_amount = Gesamtbetrag der Steuern. Der Wert darf negativ sein, wenn der type 'discount' ist. (Pflicht, wenn tax_rate oder Parameter TaxAmount angegeben ist.) type = Typ der Artikelposition. Mögliche Werte sind <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Beispiel: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Anschließend muss die im JSON-Format erstellte Artikelliste Base64 encodiert werden. |
EnhancedData | "payment": {"klarna": { "enhancedData": "..." }} | ans..2048 | O | Additional customer and order information for Klarna risk management. Merchant must agree with Klarna which data will be transmitted here. This parameter must be created in JSON format. Example: { "marketplace_seller_info": [ { "product_category": "Women's Fashion", "product_name": "Women Sweatshirt" } ] } Afterwards the additional information created in JSON format must be Base64 encoded. | Zusätzliche Kunden- und Bestellinformationen für das Klarna Risikomanagement. Welche Daten hier übermittelt werden, muss mit Klarna vereinbart werden. Dieser Parameter muss im JSON-Format erstellt werden. Beispiel: { "marketplace_seller_info": [ { "product_category": "Women's Fashion", "product_name": "Women Sweatshirt" } ] } Anschließend müssen die im JSON-Format erstellten Zusatzinformationen Base64 encodiert werden. |
Layout | "payment": {"klarna": { "layout": "..." }} | ans..2048 | O | Layout parameters for Klarna HPP. This parameter must be created in JSON format. Example: { "options": { "payment_method_category": "PAY_LATER", "show_subtotal_detail": "HIDE" } } Afterwards the layout parameters created in JSON format must be Base64 encoded. Following Klarna parameters are supported:
| Layout-Parameter für die Klarna-HPP. Dieser Parameter muss im JSON-Format erstellt werden. Beispiel: { "options": { "payment_method_category": "PAY_LATER", "show_subtotal_detail": "HIDE" } } Anschließend müssen die im JSON-Format erstellten Layout-Parameter Base64 encodiert werden. Folgende Klarna-Parameter werden unterstützt:
|
Order | "payment": {"klarnaHpp": { "automaticOrderCreation": "..." }} | ans..6 | O | Activates the automatic order creation. If this parameter is used an explicit order creation is not necessary. If a BillingAgreementID for recurring payments should be created, also the parameter RTF=I must be submitted. Only possible value: AUTO If you would like to use the automatic order processing direct through Paygate (request parameter does not have to be sent), please contact the Computop Merchant Service directly (Computop Sales) and our team will store the required setting directly at your account.| | Aktiviert die automatische Auftragsanlage. Wird dieser Parameter benutzt, muß keine explizite Auftragsanlage mehr erfolgen. Wenn auch eine BillingAgreementID für wiederkehrende Zahlungen erzeugt werden soll, muß auch der Parameter RTF=I mitgesendet werden. Einziger möglicher Wert: AUTO. Möchten Sie das automatische Order processing direkt durch das Paygate nutzen (Request-Parameter muss nicht gesendet werden), wenden Sie sich bitte direkt an den Computop Merchant Service (Computop Vertrieb) und unser Team wird für Sie die benötigte Einstellung direkt am Account hinterlegen. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
URLSuccess | "urls": {"success": "..."} | ans..256 | M | Complete URL which calls up Paygate if payment has been successful. The URL may be called up only via port 443. This URL may not contain parameters: In order to exchange values between Paygate and shop, please use the parameter UserData.
| Vollständige URL, die das Paygate aufruft, wenn die Zahlung erfolgreich war. Die URL darf nur über Port 443 aufgerufen werden. Diese URL darf keine Parameter enthalten: Um Parameter durchzureichen nutzen Sie stattdessen den Parameter UserData.
|
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
URLFailure | "urls": {"failure": "..."} | ans..256 | M | Complete URL which calls up Paygate if payment has been unsuccessful. The URL may be called up only via port 443. This URL may not contain parameters: In order to exchange values between Paygate and shop, please use the parameter UserData.
| Vollständige URL, die das Paygateaufruft, wenn die Zahlung gescheitert ist. Die URL darf nur über Port 443 aufgerufen werden. Diese URL darf keine Parameter enthalten: Um Parameter durchzureichen nutzen Sie stattdessen den Parameter UserData.
|
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Response | --- | a7 | O | Status response sent by Paygate to URLSuccess and URLFailure, should be encrypted. For this purpose, transmit Response=encrypt parameter. | Die Status-Rückmeldung, die das Paygate an URLSuccess und URLFailure sendet, sollte verschlüsselt werden. Dazu übergeben Sie den Parameter Response=encrypt. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
URLNotify | "urls": {"notify": "..."} | ans..256 | O | Complete URL which Paygate calls up in order to notify the shop about the payment result, if a PENDING transaction was finalized. The URL may be called up only via port 443 It may not contain parameters: Use the UserData parameter instead. Processing of PENDING transactions must be activated at Computop as well as Klarna. URLNotify can also be stored with Computop. | Vollständige URL, die das Paygate aufruft, um den Shop zu benachrichtigen, wenn eine PENDING-Transaktion finalisiert wurde. Die URL darf nur über Port 443 aufgerufen werden. Sie darf keine Parameter enthalten: Nutzen Sie stattdessen den Parameter UserData. Die Verarbeitung von PENDING-Transaktionen muss sowohl bei Computop also auch bei Klarna freigeschaltet sein. Die URLNotify kann auch bei Computop hinterlegt werden. |
Key | Format | CND | Personal details of customer | Personendaten des Kunden | |
DateOfBirth | "billing": {"consumer": { "birthdate": "..." }} | dttm | O | Date of birth in the format YYYY-MM-DD | Geburtsdatum im Format JJJJ-MM-TT |
Gender | "billing": {"consumer": { "gender": "..." }} | a..15 | O | Gender <female> for female, <male> for male | Geschlecht <female> für weiblich, <male> für männlich |
Title | "billing": {"consumer": { "salutation": "..." }} | a..12 | O | Salutation | Anrede |
SocialSecurityNumber | "billing": {"consumer": { "socialSecurityNumber": "..." }} | a..5 | O | Private individuals: The last four or five digits of the social security number. Not in DE, AT and NL. Obligatory field in SE, FI, DK with 4-digit value (NNNN). Obligatory field in NO with 5-digit value (NNNNN). | Bei Privatpersonen: Die letzten vier bis fünf Stellen der Sozialversicherungsnummer. Nicht in DE, AT und NL. Pflichtfeld in SE, FI, DK mit 4-stelligem Wert (NNNN). Pflichtfeld in NO mit 5-stelligem Wert (NNNNN). |
PersonID | "billing": {"consumer": { "consumerId": "..." }} | ans..15 | O | National identity number. Is necessary for example for a visa to entry the USA. For that purpose the serial number on the upper right side of the iodentity card may be used. | Nationale Identitätsnummer. Wird zum Beispiel für das Visum für die Einreise in die USA benötigt. Hierfür kann die Seriennummer rechts oben auf dem Personalausweis verwendet werden. |
LegalForm | "payment": {"klarna": { "legalForm": "..." }} | ans..50 | C | Type of company. Mandatory for B2B. Following values are possible:
| Firmentyp. Pflichtparameter für B2B. Folgende Werte sind möglich:
|
CompanyID | "billing": {"business": { "companyRegistrationNumber": "..." }} | ans..15 | O | For companies: Register of Companies number, only relevant but not mandatory for B2B. | Bei Unternehmen: Handelsregisternummer, nur für B2B von Bedeutung, aber kein Pflichtparameter. |
CompanyOrPerson | a2 | O | Indication whether it is e company or a person. <C> for companies, <P> for persons Please note that Klarna does not allow B2B transactions by default. Please contact Klarna if you also want to use the payment method for B2B transactions. | Angabe, ob es sich um eine Firma oder eine Person handelt. <C> für Firmen, <P> für Personen Bitte beachten Sie, dass seitens Klarna standardmäßig keine B2B-Transaktionen möglich sind. Bitte wenden Sie sich an Klarna, falls Sie die Zahlart auch für B2B-Transaktionen verwenden möchten. | |
VatID | "payment": {"klarna": { "vatId": "..." }} | ans..15 | O | VAT identification number, only relevant but not mandatory for B2B. | Umsatzsteuer-Identifikationsnummer, nur für B2B von Bedeutung, aber kein Pflichtparameter. |
Parameter für das Aufrufen der Klarna HPP
Bei Verwendung der REST-API Bei Verwendung der REST-API erhalten Sie immer einen Link, über den der Händler den Verbraucher umleiten muss, um die Zahlung abzuschließen. "paymentId": "..." Kann "00000000000000000000000000000000" lauten, wenn dies noch nicht vom Paygate festgelegt wurde "application/json" Der Händler kann inquire.aspx verwendenREST Format CND Beschreibung an32 M "_Links.self.type": "..." an..20 M "_Links.redirect.href": "..." an..1024 M Der Händler muss den Kunden zu dieser URL weiterleiten, um die Zahlung abzuschließen "_Links.redirect.type": "..." an..20 M "text/html"
Bei Verwendung der Key-Value-Pair-API Die folgende Tabelle beschreibt die Ergebnis-Parameter, die das Paygate an Ihre URLSuccess, URLFailure und URLNotify übergibt. Wenn Sie den Parameter Response=encrypt angegeben haben, werden die folgenden Parameter mit Blowfish verschlüsselt an Ihr System übergeben: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
PayID | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
XID | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
TransID | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
refnr | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
UserData | ans..1024 | O | If specified at request, Paygate forwards the parameter with the payment result to the shop. | Wenn beim Aufruf angegeben, übergibt das Paygate die Parameter mit dem Zahlungsergebnis an den Shop. |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
Description | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|
Code | n1..8 | M | Error code according to Paygate Response Codes (A4 Error codes). Code "0": Please make now the authorisation via Klarna widget within the frontend. | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes). Code "0": Führen Sie nun die Autorisierung über das Klarna Widget im Frontend durch. | |
BillingAgreementID | ans..50 | O | Token-ID (Consumer Token) from Klarna which must be additionally transferred for recurring payments. The value is returned only if request was made with RTF=I. | Token-ID (Consumer Token) von Klarna, welche bei wiederkehrenden Zahlungen (Recurring) mitgesendet werden muss. Der Wert wird nur zurückgegeben, wenn der Aufruf mit RTF=I erfolgt ist. | |
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | |
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen | |
TokenExt | ans..36 | M | Authorisation token which is needed for creating an order | Autorisierungs-Token, der für die Auftragsanlage benötigt wird |
Ergebnis-Parameter für URLNotify, URLSuccess und URLFailure
Bestellung bei Klarna anlegen
Um die Bestellung im Klarna-System über eine Server-zu-Server-Verbindung anzulegen, verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/KlarnaPayments.aspx |
Handelt es sich um die initiale Bestellung einer wiederkehrenden Bestellung (RTF=I), kann nur die Rechnungsadresse übergeben werden, keine Lieferadresse.
Weichen die Adressdaten von den Adressdaten ab, die bei der Autorisierung aus dem JavaScript-Widget übergeben wurden, wird die Bestellung abgelehnt.
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Amount | "amount": { "value": ...} | n..10 | M | Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit). | Betrag in der kleinsten Währungseinheit (z.B. EUR Cent). Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
TaxAmount | "amount": { "taxTotal": ...} | n..10 | OC | Gross amount of value added tax in the smallest currency unit (e.g. EUR Cent). The amount may not be negative. Mandatory if tax_rate and total_tax_amount is given within parameter ArticleList. Notice: The VAT included is calculated for 19% with the formula =gross prices / 1.19 * 0.19. Please contact the Computop Helpdesk, if you want to capture amounts < 100 (smallest currency unit). | Gesamtbetrag der MwSt. in der kleinsten Währungseinheit (z.B. EUR Cent). Der Betrag darf nicht negativ sein. Pflicht, wenn tax_rate und total_tax_amount im Parameter ArticleList angegeben sind. Hinweis: Die enthaltene MwSt. berechnet sich bei 19% mit der Formel =Bruttopreis / 1,19 * 0,19. Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Currency | "amount": { "currency": "..."} | a3 | M | Currency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table | Währung, drei Zeichen DIN / ISO 4217, z.B. EUR, USD, GBP. Hier eine Übersicht: A1 Währungstabelle |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TokenExt | ans..36 | M | Authorisation token which is returned from Klarna within JavaScript Authorize-Call. Please note, the authorization token from the previous step is valid for 60 minutes. If you attempt to place an order with this after that time has passed, it will be rejected by Klarna. | Autorisierungs-Token, welchen Klarna im JavaScript Authorize-Call zurückgibt. Bitte beachten Sie, der erhaltene Authorization-Token eine Gültigkeit von 60 Minuten hat. Wird dieser > 60min. gesendet, wird die Anfrage seitens Klarna abgelehnt. | |
EventToken | "payment": {"klarna": { "eventType": "..." }} | enum | M | Defines which Klarna API-Call request will be initiated. For creating a Klarna order the value CNO must be transferred. | Definiert welcher Klarna API-Call Request angestoßen wird. Beim Anlegen der Klarna Bestellung muss der Wert CNO übergeben werden. |
RTF | --- | a1 | O | For repeat payments (subscriptions): I = Initial payment of a new subscription, R = Routine payment (Recurring). If this is an initial payment of a subscription the value I must be transferred. | Bei wiederkehrenden Zahlungen (Abos): I = Initialzahlung eines neuen Abos, R = Wiederkehrende Zahlung (Recurring). Wenn es sich um die Initialzahlung eines Abos handelt, muss der Wert I übergeben werden. |
RequestReason | a..20 | O | Intended usage of „Consumer Token“. Possible value is SUBSCRIPTION. | Beabsichtigte Nutzung des „Consumer Tokens“. Möglicher Wert ist SUBSCRIPTION. | |
Note | ans..50 | O | Description for the purpose of token (e.g. Abo) | Beschreibung für den Zweck des Tokens (z.B. Abo) | |
ArticleList | "order": {"items": "..."} | ans..2048 | M | Complete article list of the order. This parameter must be created in JSON format. The individual parameters in JSON format are following: name = Product name (mandatory) quantity = item quantity. The value may not be negative. (mandatory) unit_price = unit price inclusive taxes but without rebates. (mandatory) total_amount = total amount of iarticles inclusive taxes and rebates. (mandatory) image_url = URL for an image that can be embedded later in agreement with Klarna. (max. 1024 characters) merchant_data = "pass-through parameter" (max. 255 characters). Merchant must agree with Klarna what will be transmitted here. product_identifiers.brand = product brand product_identifiers.category_path = path of product category. As separator '>' has to be used. product_identifiers.global_trade_item_number = article number (e.g. EAN, ISBN or UPC). product_identifiers.manufacturer_part_number = manufacturer’s number product_url = URL to product image quantity_unit = unit of quantity (e.g. kg) reference = article number (e.g. SKU) tax_rate = tax rate as percentage (e.g. 25%). The percent sign muss be replaced with two zeros, thus for example 2500. The value may not be negative. (Mandatory, if total_tax_amount or parameter TaxAmount is given.) total_discount_amount = total amount of rebate. The value may not be negative. total_tax_amount = total amount of taxes. The value may be negative, if type is 'discount'. (Mandatory, if tax_rate or parameter TaxAmount is given.) type = type of item position. Possible entries are <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Example: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Afterwards the article list created in JSON format must be Base64 encoded. | Komplette Artikelliste der Bestellung. Dieser Parameter muss im JSON-Format erstellt werden. Die einzelnen Parameter im JSON-Format sind folgende: name = Produktname (Pflicht) quantity = Artikelmenge. Der Wert darf nicht negativ sein. (Pflicht) unit_price = Einzelpreis inkl. Steuern aber exkl. Rabatte. (Pflicht) total_amount = Gesamtbetrag der Artikel inkl. Steuern und Rabatte. (Pflicht) image_url = URL zu einem Bild, welches später in Absprache mit Klarna eingebettet werden kann. (max. 1024 Zeichen) merchant_data = "Durchreich-Parameter" (max. 255 Zeichen). Was hier übermittelt wird, muss mit Klarna abgestimmt werden. product_identifiers.brand = Produktmarke product_identifiers.category_path = Pfad der Produktkategorie. Als Trennzeichen muss '>' verwendet werden. product_identifiers.global_trade_item_number = Artikelnummer (z.B. EAN, ISBN oder UPC). product_identifiers.manufacturer_part_number = Herstellernummer product_url = URL zum Produktbild quantity_unit = Mengeneinheit (z.B. kg) reference = Artikelnummer (z.B. SKU) tax_rate = Steuersatz in Prozent (z.B. 25%). Das Prozentzeichen muss durch zwei Nullen ersetzt werden, also zum Beispiel 2500. Der Wert darf nicht negativ sein. (Pflicht, wenn total_tax_amount oder Parameter TaxAmount angegeben ist.) total_discount_amount = Gesamtbetrag des Rabattes. Der Wert darf nicht negativ sein. total_tax_amount = Gesamtbetrag der Steuern. Der Wert darf negativ sein, wenn der type 'discount' ist. (Pflicht, wenn tax_rate oder Parameter TaxAmount angegeben ist.) type = Typ der Artikelposition. Mögliche Werte sind <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Beispiel: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Anschließend muss die im JSON-Format erstellte Artikelliste Base64 encodiert werden. |
bdCountryCode | a2 | M | Country code for the invoicing address, 2 characters according to ISO 3166-1. Allowed are Germany <DE>, Austria <AT>, Netherlands <NL>, Denmark <DK>, Sweden <SE>, Norway <NO>, Finland <FI>, Great Britain <GB>, USA <US>, Switzerland (CH), Australia (AU), Belgium <BE>, Spain (ES), Italy <IT>, Ireland <IE>, Poland <PL>, <PT> Portugal, <FR> France and <CA> Canada. | Ländercode der Rechnungsadresse zweistellig gemäß ISO-3166-1. Erlaubt sind Deutschland <DE>, Österreich <AT>, Niederlande <NL>, Dänemark <DK>, Schweden <SE>, Norwegen <NO>, Finnland <FI>, Großbritannien <GB>, USA <US>, Schweiz <CH>, Australien <AU>, Belgien <BE>, Spanien (ES), Italien <IT>, Irland <IE>, Polen <PL>, <PT> Portugal, <FR> Frankreich und <CA> Kanada. | |
bdFirstName | "billing": {"consumer": { "firstName": "..." }} | ans..30 | C | First name. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Vorname. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
bdLastName | "billing": {"consumer": { "lastName": "..." }} | ans..30 | C | Last name. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Nachname. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
bdEmail | "billing": {"contactInfo": { "email": "..." }} | ans..80 | C | Email address. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Must include @ and domain. | E-Mail-Adresse. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Muss @ und Domain enthalten. |
bdCompany | "billing": {"business": { "companyLegalName": "..." }} | ans..200 | C | Company name, mandatory for B2B, must be the same as sdCompany. | Firmenname, Pflichtparameter für B2B, muss identisch sein mit sdCompany. |
bdRegion | "billing": {"addressInfo": { "region": "..." }} | ans..40 | O | Region | Gebiet |
bdTitle | "billing": {"consumer": { "salutation": "..." }} | ans..20 | O | Title of customer or contact person, e.g. Dr. or Prof. | Titel des Kunden oder der Kontaktperson, z.B. Dr. oder Prof. |
bdStreet | "billing": {"addressInfo": { "addressLine1": {"street+streetNumber": "..." }}} | a..32 | C | Street name and street number. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Straße und Hausnummer. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. Erlaubte Sonderzeichen: -'´`",.:;#&/()+@ °ºᵃª_ \ |
bdZip | "billing": {"addressInfo": { "postalCode": "..." }} | n..5 | C | Postcode. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. | Postleitzahl. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. |
bdCity | "billing": {"addressInfo": { "city": "..." }} | a..32 | C | City. Optional – if submitted, all parameters bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity must be submitted. | Ort. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. |
bdAddressAddition | "billing": {"addressInfo": { "addressLine2": "..." }} | ans..60 | O | Additional/supplementary address line | Ort. Optional – wenn angegeben, müssen alle Parameter bdFirstName, bdLastName, bdEmail, bdStreet, bdZip, bdCity übergeben werden. |
sdCountryCode | "shipping": {"addressInfo": { "country": { "A2": "..." }}} | a2 | O | Country code for the delivery address, 2 characters according to ISO 3166-1. Allowed are Germany <DE>, Austria <AT>, Netherlands <NL>, Denmark <DK>, Sweden <SE>, Norway <NO>, Finland <FI>, Great Britain <GB>, USA <US>, Switzerland (CH), Australia (AU), Belgium <BE>, Spain (ES), Italy <IT>, Ireland <IE>, Poland <PL>, <PT> Portugal, <FR> France and <CA> Canada. | Ländercode der Lieferadresse zweistellig gemäß ISO-3166-1. Erlaubt sind Deutschland <DE>, Österreich <AT>, Niederlande <NL>, Dänemark <DK>, Schweden <SE>, Norwegen <NO>, Finnland <FI>, Großbritannien <GB>, USA <US>, Schweiz <CH>, Australien <AU>, Belgien <BE>, Spanien <ES>, Italien <IT>, Irland <IE>, Polen <PL>, <PT> Portugal, <FR> Frankreich und <CA> Kanada. |
sdFirstName | "shipping": {"consumer": { "firstName": "..." }} | ans..30 | C | First name. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Vorname. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
sdLastName | "shipping": {"consumer": { "lastName": "..." }} | ans..30 | C | Last name. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Nachname. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. |
sdEmail | "shipping": {"contactInfo": { "email": "..." }} | ans..80 | C | Email address. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Must include @ and domain. | E-Mail-Adresse. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Muss @ und Domain enthalten. |
sdCompany | "shipping": {"business": { "companyLegalName": "..." }} | ans..200 | C | Company name, mandatory for B2B, must be the same as bdCompany. | Firmenname, Pflichtparameter für B2B, muss identisch sein mit bdCompany. |
sdRegion | "shipping": {"addressInfo": { "region": "..." }} | ans..40 | O | Region | Gebiet |
sdTitle | "shipping": {"consumer": { "salutation": "..." }} | ans..20 | O | Title of customer or contact person, e.g. Dr. or Prof. | Titel des Kunden oder der Kontaktperson, z.B. Dr. oder Prof. |
sdStreet | "shipping": {"addressInfo": { "addressLine1": {"street+streetNumber": "..." }}} | a..32 | C | Street name and street number. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Straße und Hausnummer. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. Erlaubte Sonderzeichen: -'´`",.:;#&/()+@ °ºᵃª_ \ |
sdZip | "shipping": {"addressInfo": { "postalCode": "..." }} | n..5 | C | Postcode. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. | Postleitzahl. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. |
sdCity | "shipping": {"addressInfo": { "city": "..." }} | a..32 | C | City. Optional – if submitted, all parameters sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity must be submitted. | Ort. Optional – wenn angegeben, müssen alle Parameter sdFirstName, sdLastName, sdEmail, sdStreet, sdZip, sdCity übergeben werden. |
sdAddressAddition | "shipping": {"addressInfo": { "addressLine2": "..." }} | ans..60 | O | Additional/supplementary address line | Zusätzliche/ergänzende Adresszeile |
Parameter zum Anlegen einer Bestellung bei Klarna
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
TransactionID | an12 | O | Reference number from Klarna system | Referenznummer aus dem Klarna-System | ||
BillingAgreementID | ans..50 | O | Token-ID (Consumer Token) from Klarna which must be additionally transferred for recurring payments. The value is returned only if request was made with RTF=I. | Token-ID (Consumer Token) von Klarna, welche bei wiederkehrenden Zahlungen (Recurring) mitgesendet werden muss. Der Wert wird nur zurückgegeben, wenn der Aufruf mit RTF=I erfolgt ist. | ||
RedirectURL | ans..256 | O | The customer must be forwarded to this URL so that Klarna can place a Cookie. The customer remains unaware of this process. | Damit Klarna ein Cookie setzen kann, muss der Kunde auf diese URL weitergeleitet werden. Der Kunde bekommt hiervon nichts mit. | ||
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter beim Anlegen einer Bestellung bei Klarna
Wiederkehrende Bestellung (Abo) bei Klarna anlegen
Um eine wiederkehrende Bestellung (z.B. Abo) bei Klarna anzulegen, verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/KlarnaPayments.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Amount | "amount": { "value": ...} | n..10 | M | Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit). | Betrag in der kleinsten Währungseinheit (z.B. EUR Cent). Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
TaxAmount | "amount": { "taxTotal": ...} | n..10 | OC | Gross amount of value added tax in the smallest currency unit (e.g. EUR Cent). The amount may not be negative. Mandatory if tax_rate and total_tax_amount is given within parameter ArticleList. Notice: The VAT included is calculated for 19% with the formula =gross prices / 1.19 * 0.19. Please contact the Computop Helpdesk, if you want to capture amounts < 100 (smallest currency unit). | Gesamtbetrag der MwSt. in der kleinsten Währungseinheit (z.B. EUR Cent). Der Betrag darf nicht negativ sein. Pflicht, wenn tax_rate und total_tax_amount im Parameter ArticleList angegeben sind. Hinweis: Die enthaltene MwSt. berechnet sich bei 19% mit der Formel =Bruttopreis / 1,19 * 0,19. Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Currency | "amount": { "currency": "..."} | a3 | M | Currency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table | Währung, drei Zeichen DIN / ISO 4217, z.B. EUR, USD, GBP. Hier eine Übersicht: A1 Währungstabelle |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
EventToken | enum | M | Defines which Klarna API-Call request will be initiated. For creating a Klarna order the value CNO must be transferred. | Definiert, welcher Klarna API-Call Request angestoßen wird. Beim Anlegen der Klarna-Bestellung muss der Wert CNO übergeben werden. | ||
BillingAgreementID | ans..50 | M | Token-ID (Consumer Token) from Klarna which must be additionally transferred for recurring payments. | Token-ID (Consumer Token) von Klarna, welche bei wiederkehrenden Zahlungen (Recurring) mitgesendet werden muss. | ||
RTF | --- | a1 | M | For repeat payments (subscriptions): I = Initial payment of a new subscription, R = Routine payment (Recurring). For this request the value R must be transferred. | Bei wiederkehrenden Zahlungen (Abos): I = Initialzahlung eines neuen Abos, R = Wiederkehrende Zahlung (Recurring). Bei diesem Request muss der Wert R übergeben werden. | |
Account | ans..12 | M | Within Paygate several Klarna user names can be stored on one MerchantID and controlled by the parameter Account. By default, please use the value "0", if you have several Klarna accounts, the values must be agreed with Computop Helpdesk. | Im Paygate können mehrere Klarna-Benutzernamen auf einer MerchantID hinterlegt und durch den Parameter Account angesteuert werden. Standardmäßig verwenden Sie bitte den Wert "0", bei mehreren Klarna-Accounts stimmen Sie die Werte bitte mit Computop Helpdesk ab. | ||
ArticleList | ans..2048 | M | Complete article list of the order. This parameter must be created in JSON format. The individual parameters in JSON format are following: name = Product name (mandatory) quantity = item quantity. The value may not be negative. (mandatory) unit_price = unit price inclusive taxes but without rebates. (mandatory) total_amount = total amount of iarticles inclusive taxes and rebates. (mandatory) image_url = URL for an image that can be embedded later in agreement with Klarna. (max. 1024 characters) merchant_data = "pass-through parameter" (max. 255 characters). Merchant must agree with Klarna what will be transmitted here. product_identifiers.brand = product brand product_identifiers.category_path = path of product category. As separator '>' has to be used. product_identifiers.global_trade_item_number = article number (e.g. EAN, ISBN or UPC). product_identifiers.manufacturer_part_number = manufacturer’s number product_url = URL to product image quantity_unit = unit of quantity (e.g. kg) reference = article number (e.g. SKU) tax_rate = tax rate as percentage (e.g. 25%). The percent sign muss be replaced with two zeros, thus for example 2500. The value may not be negative. (Mandatory, if total_tax_amount or parameter TaxAmount is given.) total_discount_amount = total amount of rebate. The value may not be negative. total_tax_amount = total amount of taxes. The value may be negative, if type is 'discount'. (Mandatory, if tax_rate or parameter TaxAmount is given.) type = type of item position. Possible entries are <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Example: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Afterwards the article list created in JSON format must be Base64 encoded. | Komplette Artikelliste der Bestellung. Dieser Parameter muss im JSON-Format erstellt werden. Die einzelnen Parameter im JSON-Format sind folgende: name = Produktname (Pflicht) quantity = Artikelmenge. Der Wert darf nicht negativ sein. (Pflicht) unit_price = Einzelpreis inkl. Steuern aber exkl. Rabatte. (Pflicht) total_amount = Gesamtbetrag der Artikel inkl. Steuern und Rabatte. (Pflicht) image_url = URL zu einem Bild, welches später in Absprache mit Klarna eingebettet werden kann. (max. 1024 Zeichen) merchant_data = "Durchreich-Parameter" (max. 255 Zeichen). Was hier übermittelt wird, muss mit Klarna abgestimmt werden. product_identifiers.brand = Produktmarke product_identifiers.category_path = Pfad der Produktkategorie. Als Trennzeichen muss '>' verwendet werden. product_identifiers.global_trade_item_number = Artikelnummer (z.B. EAN, ISBN oder UPC). product_identifiers.manufacturer_part_number = Herstellernummer product_url = URL zum Produktbild quantity_unit = Mengeneinheit (z.B. kg) reference = Artikelnummer (z.B. SKU) tax_rate = Steuersatz in Prozent (z.B. 25%). Das Prozentzeichen muss durch zwei Nullen ersetzt werden, also zum Beispiel 2500. Der Wert darf nicht negativ sein. (Pflicht, wenn total_tax_amount oder Parameter TaxAmount angegeben ist.) total_discount_amount = Gesamtbetrag des Rabattes. Der Wert darf nicht negativ sein. total_tax_amount = Gesamtbetrag der Steuern. Der Wert darf negativ sein, wenn der type 'discount' ist. (Pflicht, wenn tax_rate oder Parameter TaxAmount angegeben ist.) type = Typ der Artikelposition. Mögliche Werte sind <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Beispiel: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Anschließend muss die im JSON-Format erstellte Artikelliste Base64 codiert werden. |
Parameter für eine wiederkehrende Bestellung (Abo) mit Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
TransactionID | an12 | O | Reference number from Klarna system | Referenznummer aus dem Klarna-System | ||
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter für eine wiederkehrende Bestellung (Abo) mit Klarna Payments
Rechnungs- und Lieferadresse ändern
Die Rechnungs- und Lieferdaten sind im Klarna-Widget übergeben worden. Solange noch keine Buchung erfolgt ist, können Rechnungs- und/oder Lieferadresse nachträglich angepasst werden. Hierzu verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/KlarnaPayments.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
EventToken | "payment": {"klarna": { "eventType": "..." }} | enum | M | Defines which Klarna API-Call request will be initiated. For updating invoice and/or delivery address the value UCA must be transferred. | Definiert, welcher Klarna API-Call Request angestoßen wird. Für das Update der Rechnungs- und/oder Lieferadresse muss der Wert UCA übergeben werden. | |
Key | Format | CND | Invoicing adress | Rechnungsadresse | ||
bdTitle | "billing": {"consumer": { "salutation": "..." }} | a..12 | O | Salutation | Anrede | |
bdFirstName | "billing": {"consumer": { "firstName": "..." }} | ans..30 | O | First name. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Vorname. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. | |
bdLastName | "billing": {"consumer": { "lastName": "..." }} | ans..30 | O | Last name. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Nachname. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. | |
bdCompany | "billing": {"business": { "companyLegalName": "..." }} | ans..30 | O | Company. Only for B2B relevant, must be the same as sdCompany. | Firma. Nur für B2B von Bedeutung, muss identisch sein mit sdCompany. | |
bdStreet | "billing": {"addressInfo": { "addressLine1": {"street+streetNumber": "..." }}} | a..32 | O | Street name and street number. Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Straße und Hausnummer. Erlaubte Sonderzeichen: -'´`",.:;#&/()+@ °ºᵃª_ \ | |
bdAddressAddition | "billing": {"addressInfo": { "addressLine2": "..." }} | ans..50 | O | Address line 2 | Adresszusatz | |
bdZip | "billing": {"addressInfo": { "postalCode": "..." }} | n..5 | O | Postcode | Postleitzahl | |
bdCity | "billing": {"addressInfo": { "city": "..." }} | a..32 | O | City | Ort | |
bdRegion | "billing": {"addressInfo": { "region": "..." }} | a..32 | O | Region | Region | |
bdCountryCode | a2 | O | Country code for the invoicing address, 2 characters according to ISO 3166-1. Allowed are Germany <DE>, Austria <AT>, Netherlands <NL>, Denmark <DK>, Sweden <SE>, Norway <NO>, Finland <FI>, Great Britain <GB>, USA <US>, Switzerland <CH>, Australia <AU>, Belgium <BE>, Spain <ES>, Italy <IT>, Ireland <IE>, Poland <PL>, <PT> Portugal, <FR> France and <CA> Canada. | Ländercode der Rechnungsadresse zweistellig gemäß ISO-3166-1. Erlaubt sind Deutschland <DE>, Österreich <AT>, Niederlande <NL>, Dänemark <DK>, Schweden <SE>, Norwegen <NO>, Finnland <FI>, Großbritannien <GB>, USA <US>, Schweiz <CH>, Australien <AU>, Belgien <BE>, Spanien <ES>, Italien <IT>, Irland <IE>, Polen <PL>, <PT> Portugal, <FR> Frankreich und <CA> Kanada. | ||
bdEmail | "billing": {"contactInfo": { "email": "..." }} | ans..80 | O | E-mail address. Must include @ and domain. | E-Mail-Adresse. Muss @ und Domain enthalten. | |
bdPhone | "billing": {"contactInfo": { "phone": "..." }} | n..20 | O | Phone number or mobile phone number | Telefon- oder Mobilfunknummer | |
Key | Format | CND | Delivery address | Lieferadresse | ||
sdTitle | "shipping": {"consumer": { "salutation": "..." }} | a..12 | O | Salutation | Anrede | |
sdFirstName | "shipping": {"consumer": { "firstName": "..." }} | ans..30 | O | First name. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Vorname. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. | |
sdLastName | "shipping": {"consumer": { "lastName": "..." }} | ans..30 | O | Last name. Cannot be only numbers, must be more than 1 character. Allowed special characters: -'’. | Nachname. Darf nicht nur aus Zahlen bestehen und muss aus mehr als 1 Zeichen bestehen. Erlaubte Sonderzeichen: -''. | |
sdCompany | "shipping": {"business": { "companyLegalName": "..." }} | ans..50 | O | Company. Only for B2B relevant, must be the same as bdCompany. | Firma. Nur für B2B von Bedeutung, muss identisch sein mit bdCompany. | |
sdStreet | "shipping": {"addressInfo": { "addressLine1": {"street+streetNumber": "..." }}} | a..32 | O | Street name and street number. Allowed special characters: -'´`",.:;#&/()+@ °ºᵃª_ \ | Straße und Hausnummer. Erlaubte Sonderzeichen: -'´`",.:;#&/()+@ °ºᵃª_ \ | |
sdAddressAddition | "shipping": {"addressInfo": { "addressLine2": "..." }} | ans..50 | O | Address line 2 | Adresszusatz | |
sdZip | "shipping": {"addressInfo": { "postalCode": "..." }} | n..5 | O | Postcode | Postleitzahl | |
sdCity | "shipping": {"addressInfo": { "city": "..." }} | a..32 | O | City | Ort | |
sdRegion | "shipping": {"addressInfo": { "region": "..." }} | a..32 | O | Region | Region | |
sdCountryCode | "shipping": {"addressInfo": { "country": { "A2": "..." }}} | a2 | O | Country code for the delivery address, 2 characters according to ISO 3166-1. Allowed are Germany <DE>, Austria <AT>, Netherlands <NL>, Denmark <DK>, Sweden <SE>, Norway <NO>, Finland <FI>, Great Britain <GB>, USA <US>, Switzerland <CH>, Australia <AU>, Belgium <BE>, Spain <ES>, Italy <IT>, Ireland <IE>, Poland <PL>, <PT> Portugal, <FR> France and <CA> Canada. | Ländercode der Rechnungsadresse zweistellig gemäß ISO-3166-1. Erlaubt sind Deutschland <DE>, Österreich <AT>, Niederlande <NL>, Dänemark <DK>, Schweden <SE>, Norwegen <NO>, Finnland <FI>, Großbritannien <GB>, USA <US>, Schweiz <CH>, Australien <AU>, Belgien <BE>, Spanien <ES>, Italien <IT>, Irland <IE>, Polen <PL>, <PT> Portugal, <FR> Frankreich und <CA> Kanada. | |
sdEmail | "shipping": {"contactInfo": { "email": "..." }} | ans..80 | O | E-mail address. Must include @ and domain. | E-Mail-Adresse. Muss @ und Domain enthalten. | |
sdPhone | "shipping": {"contactInfo": { "phone": "..." }} | n..20 | O | Phone number or mobile phone number | Telefon- oder Mobilfunknummer |
Parameter für eine Adressänderung bei Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter für eine Adressänderung bei Klarna Payments
Eindeutige Referenznummer ändern
Solange noch keine Buchung erfolgt ist, kann die eindeutige Referenznummer, die bereits beim Erzeugen der Klarna-Session im Parameter RefNr mitgeschickt wurde, nachträglich angepasst werden. Hierzu verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/KlarnaPayments.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
EventToken | enum | M | Defines which Klarna API-Call request will be initiated. For updating the unique reference number the value UMR must be transferred. | Definiert, welcher Klarna API-Call Request angestoßen wird. Für das Update der eindeutigen Referenznummer muss der Wert UMR übergeben werden. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Parameter für Änderung der Referenznummer bei Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter für Änderung der Referenznummer bei Klarna Payments
Bestellbetrag und Artikelliste ändern
Solange noch keine Buchung erfolgt ist, können der Bestellbetrag sowie die gesamte Artikelliste nachträglich angepasst werden. Hierzu verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/KlarnaPayments.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
Amount | n..10 | M | New total amount in the smallest currency unit (e.g. EUR Cent) The amount may not be negative. Please contact the helpdesk, if you want to capture amounts < 100 (smallest currency unit). Notice: The new amount may not be higher than the amount transferred within the initial request. | Neuer Gesamtbetrag in der kleinsten Währungseinheit (z.B. EUR Cent). Der Betrag darf nicht negativ sein. Bitte wenden Sie sich an den Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. Hinweis: Der neue Betrag darf nicht höher sein, als der im anfänglichen Request mitgegebene Betrag. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Currency | "amount": { "currency": "..."} | a3 | M | Currency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table | Währung, drei Zeichen DIN / ISO 4217, z.B. EUR, USD, GBP. Hier eine Übersicht: A1 Währungstabelle |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
EventToken | enum | M | Defines which Klarna API-Call request will be initiated. For modifying of order amount and article list the value UEO must be transferred. | Definiert, welcher Klarna API-Call Request angestoßen wird. Für das Ändern des Bestellbetrages und der Artikelliste muss der Wert UEO übergeben werden. | ||
ArticleList | ans..2048 | M | New article list of the order. This parameter must be created in JSON format. The individual parameters in JSON format are following: name = Product name (mandatory) quantity = item quantity. The value may not be negative. (mandatory) unit_price = unit price inclusive taxes but without rebates. (mandatory) total_amount = total amount of iarticles inclusive taxes and rebates. (mandatory) image_url = URL for an image that can be embedded later in agreement with Klarna. (max. 1024 characters) merchant_data = "pass-through parameter" (max. 255 characters). Merchant must agree with Klarna what will be transmitted here. product_identifiers.brand = product brand product_identifiers.category_path = path of product category. As separator '>' has to be used. product_identifiers.global_trade_item_number = article number (e.g. EAN, ISBN or UPC). product_identifiers.manufacturer_part_number = manufacturer’s number product_url = URL to product image quantity_unit = unit of quantity (e.g. kg) reference = article number (e.g. SKU) tax_rate = tax rate as percentage (e.g. 25%). The percent sign muss be replaced with two zeros, thus for example 2500. The value may not be negative. (Mandatory, if total_tax_amount or parameter TaxAmount is given.) total_discount_amount = total amount of rebate. The value may not be negative. total_tax_amount = total amount of taxes. The value may be negative, if type is 'discount'. (Mandatory, if tax_rate or parameter TaxAmount is given.) type = type of item position. Possible entries are <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Example: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Afterwards the article list created in JSON format must be Base64 encoded. | Neue Artikelliste der Bestellung. Dieser Parameter muss im JSON-Format erstellt werden. Die einzelnen Parameter im JSON-Format sind folgende: name = Produktname (Pflicht) quantity = Artikelmenge. Der Wert darf nicht negativ sein. (Pflicht) unit_price = Einzelpreis inkl. Steuern aber exkl. Rabatte. (Pflicht) total_amount = Gesamtbetrag der Artikel inkl. Steuern und Rabatte. (Pflicht) image_url = URL zu einem Bild, welches später in Absprache mit Klarna eingebettet werden kann. (max. 1024 Zeichen) merchant_data = "Durchreich-Parameter" (max. 255 Zeichen). Was hier übermittelt wird, muss mit Klarna abgestimmt werden. product_identifiers.brand = Produktmarke product_identifiers.category_path = Pfad der Produktkategorie. Als Trennzeichen muss '>' verwendet werden. product_identifiers.global_trade_item_number = Artikelnummer (z.B. EAN, ISBN oder UPC). product_identifiers.manufacturer_part_number = Herstellernummer product_url = URL zum Produktbild quantity_unit = Mengeneinheit (z.B. kg) reference = Artikelnummer (z.B. SKU) tax_rate = Steuersatz in Prozent (z.B. 25%). Das Prozentzeichen muss durch zwei Nullen ersetzt werden, also zum Beispiel 2500. Der Wert darf nicht negativ sein. (Pflicht, wenn total_tax_amount oder Parameter TaxAmount angegeben ist.) total_discount_amount = Gesamtbetrag des Rabattes. Der Wert darf nicht negativ sein. total_tax_amount = Gesamtbetrag der Steuern. Der Wert darf negativ sein, wenn der type 'discount' ist. (Pflicht, wenn tax_rate oder Parameter TaxAmount angegeben ist.) type = Typ der Artikelposition. Mögliche Werte sind <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Beispiel: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Anschließend muss die im JSON-Format erstellte Artikelliste Base64 encodiert werden. |
Parameter für Änderung von Bestellbetrag und Artikelliste bei Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter für Änderung von Bestellbetrag und Artikelliste bei Klarna Payments
Buchung
Buchungen sind über eine Server-zu-Server-Kommunikation möglich. Um eine Voll- oder Teilbuchung (Capture) für Klarna Payments über eine Server-zu-Server-Verbindung auszuführen, verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/capture.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
Amount | n..10 | M | Amount to be captured in the smallest currency unit including taxes and rebates (e.g. EUR Cent). Please contact the helpdesk, if you want to capture amounts < 100 (smallest currency unit). Notice: It depends on the amount whether a full or partial capture is made. | Betrag, der gebucht werden soll, in der kleinsten Währungseinheit (z.B. EUR Cent) inkl. Steuern und Rabatte. Bitte wenden Sie sich an den Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. Hinweis: Ob eine Teil- oder Vollbuchung durchgeführt wird, ist vom Betrag abhängig. | ||
Currency | "amount": { "currency": "..."} | a..3 | M | Currency, three characters DIN / ISO 4217, permitted are: AUD, CHF, DKK, EUR, GBP, NOK, SEK, USD. | Währung, drei Zeichen DIN / ISO 4217, zulässig sind: AUD, CHF, DKK, EUR, GBP, NOK, SEK, USD. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ReqId | "requestId": "..." | ans..32 | O | To avoid double payments or actions (e.g. by ETM), enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction or action is submitted again with the same ReqID, Computop Paygate will not carry out the payment or new action, but will just return the status of the original transaction or action. Please note that the Computop Paygate must have a finalized transaction status for the first initial action (authentication/authorisation). This does not apply to 3-D Secure authentications that are terminated by a timeout. The 3-D Secure Timeout status does not count as a completed status in which the ReqID functionality on Paygate does not take effect. Submissions with identical ReqID for an open status will be processed regularly. Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the Paygate. | Um Doppelzahlungen (z.B. durch ETM) zu vermeiden, übergeben Sie einen alphanumerischen Wert, der Ihre Transaktion oder Aktion identifiziert und nur einmal vergeben werden darf. Falls die Transaktion oder Aktion mit derselben ReqID erneut eingereicht wird, führt das Computop Paygate keine Zahlung oder weitere Aktion aus, sondern gibt nur den Status der ursprünglichen Transaktion oder Aktion zurück. Bitte beachten Sie, dass das Computop Paygate für die erste initiale Aktion (Authentifizierung/Autorisierung) einen abgeschlossenen Transaktionsstatus haben muss. Dies gilt nicht für 3-D Secure Authentifizierungen, die durch einem Timeout beendet werden. Der Status 3-D Secure Timeout gilt nicht als abgeschlossener Status, bei dem ReqID-Funktionalität am Paygate nicht greift. Einreichungen mit identischer ReqID auf einen offenen Status werden regulär verarbeitet. Hinweis: Bitte beachten Sie, dass eine ReqID nur 12 Monate gültig ist, danach wird sie vom Paygate gelöscht. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ShippingData | ans..2048 | O | Delivery information (e.g. tracking data). This parameter must be created in JSON format. Example: { "shipping_info": [ { "shipping_company": "DHL US", "shipping_method": "Home", "tracking_number": "63456415674545679074", "tracking_url": "http://shipping.example/findmypackage?63456415674545679074", "return_shipping_company": "DHL US", "return_tracking_number": "93456415674545679000", "return_tracking_url": "http://shipping.example/findmypackage?93456415674545679000" } ] } Afterwards the delivery information created in JSON format must be Base64 encoded. | Lieferinformationen (z.B. Tracking-Daten). Dieser Parameter muss im JSON-Format erstellt werden. Beispiel: { "shipping_info": [ { "shipping_company": "DHL US", "shipping_method": "Home", "tracking_number": "63456415674545679074", "tracking_url": "http://shipping.example/findmypackage?63456415674545679074", "return_shipping_company": "DHL US", "return_tracking_number": "93456415674545679000", "return_tracking_url": "http://shipping.example/findmypackage?93456415674545679000" } ] } Anschließend müssen die im JSON-Format erstellten Lieferinformationen Base64 encodiert werden. | |
ArticleList | ans..2048 | O | Complete article list of the order. This parameter must be created in JSON format. The individual parameters in JSON format are following: name = Product name (mandatory) quantity = item quantity. The value may not be negative. (mandatory) unit_price = unit price inclusive taxes but without rebates. (mandatory) total_amount = total amount of iarticles inclusive taxes and rebates. (mandatory) image_url = URL for an image that can be embedded later in agreement with Klarna. (max. 1024 characters) merchant_data = "pass-through parameter" (max. 255 characters). Merchant must agree with Klarna what will be transmitted here. product_identifiers.brand = product brand product_identifiers.category_path = path of product category. As separator '>' has to be used. product_identifiers.global_trade_item_number = article number (e.g. EAN, ISBN or UPC). product_identifiers.manufacturer_part_number = manufacturer’s number product_url = URL to product image quantity_unit = unit of quantity (e.g. kg) reference = article number (e.g. SKU) tax_rate = tax rate as percentage (e.g. 25%). The percent sign muss be replaced with two zeros, thus for example 2500. The value may not be negative. (Mandatory, if total_tax_amount or parameter TaxAmount is given.) total_discount_amount = total amount of rebate. The value may not be negative. total_tax_amount = total amount of taxes. The value may be negative, if type is 'discount'. (Mandatory, if tax_rate or parameter TaxAmount is given.) type = type of item position. Possible entries are <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Example: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Afterwards the article list created in JSON format must be Base64 encoded. | Komplette Artikelliste der Bestellung. Dieser Parameter muss im JSON-Format erstellt werden. Die einzelnen Parameter im JSON-Format sind folgende: name = Produktname (Pflicht) quantity = Artikelmenge. Der Wert darf nicht negativ sein. (Pflicht) unit_price = Einzelpreis inkl. Steuern aber exkl. Rabatte. (Pflicht) total_amount = Gesamtbetrag der Artikel inkl. Steuern und Rabatte. (Pflicht) image_url = URL zu einem Bild, welches später in Absprache mit Klarna eingebettet werden kann. (max. 1024 Zeichen) merchant_data = "Durchreich-Parameter" (max. 255 Zeichen). Was hier übermittelt wird, muss mit Klarna abgestimmt werden. product_identifiers.brand = Produktmarke product_identifiers.category_path = Pfad der Produktkategorie. Als Trennzeichen muss '>' verwendet werden. product_identifiers.global_trade_item_number = Artikelnummer (z.B. EAN, ISBN oder UPC). product_identifiers.manufacturer_part_number = Herstellernummer product_url = URL zum Produktbild quantity_unit = Mengeneinheit (z.B. kg) reference = Artikelnummer (z.B. SKU) tax_rate = Steuersatz in Prozent (z.B. 25%). Das Prozentzeichen muss durch zwei Nullen ersetzt werden, also zum Beispiel 2500. Der Wert darf nicht negativ sein. (Pflicht, wenn total_tax_amount oder Parameter TaxAmount angegeben ist.) total_discount_amount = Gesamtbetrag des Rabattes. Der Wert darf nicht negativ sein. total_tax_amount = Gesamtbetrag der Steuern. Der Wert darf negativ sein, wenn der type 'discount' ist. (Pflicht, wenn tax_rate oder Parameter TaxAmount angegeben ist.) type = Typ der Artikelposition. Mögliche Werte sind <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Beispiel: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Anschließend muss die im JSON-Format erstellte Artikelliste Base64 encodiert werden. | |
CompleteType | a3 | O | With this parameter during a partial capture it is possible to reverse the remaining amount simultaneously. Possible value <YES>. If the order was processed completely this parameter will cause an error, because a remaining amount of 0 cannot be reversed. | Mit diesem Parameter kann bei einer Teilbuchung gleichzeitig der noch verbleibende Restbetrag storniert werden. Möglicher Wert <YES>. Wurde der Auftrag vollständig gebucht, führt dieser Parameter zu einem Fehler, da ein Restbetrag von 0 nicht storniert werden kann. |
Parameter für Buchungen bei Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
InvoiceNr | "payment": {"klarnaInvoiceNumber": "..." } | ans..30 | M | Invoice/booking number from Klarna. This number is needed for example for resending the E-Mail with payment and order information. | Rechnungs-/Buchungsnummer von Klarna. Diese Nummer wird beispielsweise benötigt, um das Versenden der E-Mail mit den Zahlungs- und Bestellinformationen erneut anzustoßen. | |
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter für Buchungen bei Klarna Payments
Erneutes Versenden einer aktivierten Rechnung
Es kann vorkommen, dass ein Kunde die E-Mail mit den Zahlungs- und Bestellinformationen nicht erhalten hat. Dieser Request kann nur durchgeführt werden, wenn bereits eine Buchung durchgeführt wurde. Um das Versenden dieser E-Mail erneut anzustoßen, verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/KlarnaPayments.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
EventToken | enum | M | Defines which Klarna API-Call request will be initiated. For resending the E-Mail the value RCC must be transferred. | Definiert, welcher Klarna API-Call Request angestoßen wird. Für das erneute Versenden der E-Mail muss der Wert RCC übergeben werden. | ||
InvoiceNr | ans..30 | M | Invoice/booking number from Klarna which is returned for all captures within response parameter InvoiceNr | Rechnungs-/Buchungsnummer von Klarna, welche bei jeder Buchung im Antwortparameter InvoiceNr zurückgegeben wird |
Parameter für erneutes Versenden einer aktivierten Rechnung bei Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter für erneutes Versenden einer aktivierten Rechnung bei Klarna Payments
Gutschrift mit Referenz und Teilgutschrift
Gutschriften sind über eine Server-zu-Server-Kommunikation möglich. Um eine Teil- oder Vollgutschrift (Credit) mit Referenztransaktion auszuführen, verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/credit.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
Amount | n..10 | M | Total amount to be credited in the smallest currency unit including taxes and rebates (e.g. EUR Cent). Please contact the helpdesk, if you want to capture amounts < 100 (smallest currency unit). Notice: It depends on the amount whether a full or partial credit is made. | Gesamtbetrag, der gutgeschrieben werden soll, in der kleinsten Währungseinheit (z.B. EUR Cent) inkl. Steuern und Rabatten. Bitte wenden Sie sich an den Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. Hinweis: Ob eine Teil- oder Vollgutschrift durchgeführt wird, ist vom Betrag abhängig. | ||
Currency | a..3 | M | Currency, three characters DIN / ISO 4217, permitted are: AUD, CHF, DKK, EUR, GBP, NOK, SEK, USD. | Währung, drei Zeichen DIN / ISO 4217, zulässig sind: AUD, CHF, DKK, EUR, GBP, NOK, SEK, USD. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ReqId | "requestId": "..." | ans..32 | O | To avoid double payments or actions (e.g. by ETM), enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction or action is submitted again with the same ReqID, Computop Paygate will not carry out the payment or new action, but will just return the status of the original transaction or action. Please note that the Computop Paygate must have a finalized transaction status for the first initial action (authentication/authorisation). This does not apply to 3-D Secure authentications that are terminated by a timeout. The 3-D Secure Timeout status does not count as a completed status in which the ReqID functionality on Paygate does not take effect. Submissions with identical ReqID for an open status will be processed regularly. Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the Paygate. | Um Doppelzahlungen (z.B. durch ETM) zu vermeiden, übergeben Sie einen alphanumerischen Wert, der Ihre Transaktion oder Aktion identifiziert und nur einmal vergeben werden darf. Falls die Transaktion oder Aktion mit derselben ReqID erneut eingereicht wird, führt das Computop Paygate keine Zahlung oder weitere Aktion aus, sondern gibt nur den Status der ursprünglichen Transaktion oder Aktion zurück. Bitte beachten Sie, dass das Computop Paygate für die erste initiale Aktion (Authentifizierung/Autorisierung) einen abgeschlossenen Transaktionsstatus haben muss. Dies gilt nicht für 3-D Secure Authentifizierungen, die durch einem Timeout beendet werden. Der Status 3-D Secure Timeout gilt nicht als abgeschlossener Status, bei dem ReqID-Funktionalität am Paygate nicht greift. Einreichungen mit identischer ReqID auf einen offenen Status werden regulär verarbeitet. Hinweis: Bitte beachten Sie, dass eine ReqID nur 12 Monate gültig ist, danach wird sie vom Paygate gelöscht. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ArticleList | ans..2048 | O | Complete article list of the order. This parameter must be created in JSON format. The individual parameters in JSON format are following: name = Product name (mandatory) quantity = item quantity. The value may not be negative. (mandatory) unit_price = unit price inclusive taxes but without rebates. (mandatory) total_amount = total amount of iarticles inclusive taxes and rebates. (mandatory) image_url = URL for an image that can be embedded later in agreement with Klarna. (max. 1024 characters) merchant_data = "pass-through parameter" (max. 255 characters). Merchant must agree with Klarna what will be transmitted here. product_identifiers.brand = product brand product_identifiers.category_path = path of product category. As separator '>' has to be used. product_identifiers.global_trade_item_number = article number (e.g. EAN, ISBN or UPC). product_identifiers.manufacturer_part_number = manufacturer’s number product_url = URL to product image quantity_unit = unit of quantity (e.g. kg) reference = article number (e.g. SKU) tax_rate = tax rate as percentage (e.g. 25%). The percent sign muss be replaced with two zeros, thus for example 2500. The value may not be negative. (Mandatory, if total_tax_amount or parameter TaxAmount is given.) total_discount_amount = total amount of rebate. The value may not be negative. total_tax_amount = total amount of taxes. The value may be negative, if type is 'discount'. (Mandatory, if tax_rate or parameter TaxAmount is given.) type = type of item position. Possible entries are <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Example: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Afterwards the article list created in JSON format must be Base64 encoded. | Komplette Artikelliste der Bestellung. Dieser Parameter muss im JSON-Format erstellt werden. Die einzelnen Parameter im JSON-Format sind folgende: name = Produktname (Pflicht) quantity = Artikelmenge. Der Wert darf nicht negativ sein. (Pflicht) unit_price = Einzelpreis inkl. Steuern aber exkl. Rabatte. (Pflicht) total_amount = Gesamtbetrag der Artikel inkl. Steuern und Rabatte. (Pflicht) image_url = URL zu einem Bild, welches später in Absprache mit Klarna eingebettet werden kann. (max. 1024 Zeichen) merchant_data = "Durchreich-Parameter" (max. 255 Zeichen). Was hier übermittelt wird, muss mit Klarna abgestimmt werden. product_identifiers.brand = Produktmarke product_identifiers.category_path = Pfad der Produktkategorie. Als Trennzeichen muss '>' verwendet werden. product_identifiers.global_trade_item_number = Artikelnummer (z.B. EAN, ISBN oder UPC). product_identifiers.manufacturer_part_number = Herstellernummer product_url = URL zum Produktbild quantity_unit = Mengeneinheit (z.B. kg) reference = Artikelnummer (z.B. SKU) tax_rate = Steuersatz in Prozent (z.B. 25%). Das Prozentzeichen muss durch zwei Nullen ersetzt werden, also zum Beispiel 2500. Der Wert darf nicht negativ sein. (Pflicht, wenn total_tax_amount oder Parameter TaxAmount angegeben ist.) total_discount_amount = Gesamtbetrag des Rabattes. Der Wert darf nicht negativ sein. total_tax_amount = Gesamtbetrag der Steuern. Der Wert darf negativ sein, wenn der type 'discount' ist. (Pflicht, wenn tax_rate oder Parameter TaxAmount angegeben ist.) type = Typ der Artikelposition. Mögliche Werte sind <physical>, <discount>, <shipping_fee>, <sales_tax>, <digital>, <gift_card>, <store_credit>, <surcharge> Beispiel: { "order_lines": [ { "image_url": "https://www.exampleobjects.com/logo.png", "merchant_data": "", "name": "Battery Power Pack", "product_identifiers": { "brand": "Intel", "category_path": "Electronics Store > Computers & Tablets > Desktops", "global_trade_item-number": "735858293167", "manufacturer_part_number": "BOXNUC5CPYH" }, "product_url": "https://www.estore.com/products/f2a8d7e34", "quantity": 1, "quantity_unit": "kg", "reference": "19-402-USA", "tax_rate": 0, "total_amount": 1000, "total_discount_amount": 0, "total_tax_amount": 0, "type": "physical", "unit_price": 1000 } ] } Anschließend muss die im JSON-Format erstellte Artikelliste Base64 encodiert werden. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Parameter für Gutschrift von Zahlungen mit Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
InvoiceNr | "payment": {"klarnaInvoiceNumber": "..." } | ans..30 | M | Number of invoice/credit note from Klarna Payments | Rechnungs-/Gutschriftsnummer von Klarna Payments | |
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter für Gutschrift von Zahlungen mit Klarna Payments
Storno
Stornierungen sind über eine Server-zu-Server-Kommunikation möglich. Mit diesem Aufruf können Sie den gesamten Autorisierungsbetrag, wenn noch keine Buchung erfolgt ist, stornieren oder den verbleibenden Autorisierungsbetrag stornieren, wenn bereits eine Teilbuchung erfolgt ist. Hierzu verwenden Sie bitte folgende URL:
https://www.computop-paygate.com/reverse.aspx |
Hinweis: Aus Sicherheitsgründen lehnt das Paygate alle Zahlungsanfragen mit Formatfehlern ab. Bitte übergeben Sie deshalb bei jedem Parameter den korrekten Datentyp. Die folgende Tabelle beschreibt die verschlüsselten Übergabeparameter:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too. | HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
Amount | n..10 | M | Amount to be reversed in the smallest currency unit including taxes and rebates (e.g. EUR Cent). Please contact the helpdesk, if you want to capture amounts < 100 (smallest currency unit). Notice: If no capture was made the amount must equals the previously authorised amount. If a partial capture already was made the amount must equals the remaining authorised amount. A reversal for an already completely captured order will be refused with an error also if an amount 0 is used. | Betrag, der storniert werden soll, in der kleinsten Währungseinheit (z.B. EUR Cent) inkl. Steuern und Rabatten. Bitte wenden Sie sich an den Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. Hinweis: Wenn noch keine Buchung erfolgt ist, muss der Betrag dem vorher autorisierten Betrag entsprechen. Wenn bereits eine Teilbuchung erfolgt ist, muss der Betrag dem Restbetrag der Autorisierung entsprechen. Eine Stornierung auf einem bereits vollständig gebuchtem Auftrag wird mit einem Fehler abgelehnt, auch wenn als Betrag 0 verwendet wird. | ||
Currency | a..3 | M | Currency, three characters DIN / ISO 4217, permitted are: AUD, CHF, DKK, EUR, GBP, NOK, SEK, USD. | Währung, drei Zeichen DIN / ISO 4217, zulässig sind: AUD, CHF, DKK, EUR, GBP, NOK, SEK, USD. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ReqId | "requestId": "..." | ans..32 | O | To avoid double payments or actions (e.g. by ETM), enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction or action is submitted again with the same ReqID, Computop Paygate will not carry out the payment or new action, but will just return the status of the original transaction or action. Please note that the Computop Paygate must have a finalized transaction status for the first initial action (authentication/authorisation). This does not apply to 3-D Secure authentications that are terminated by a timeout. The 3-D Secure Timeout status does not count as a completed status in which the ReqID functionality on Paygate does not take effect. Submissions with identical ReqID for an open status will be processed regularly. Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the Paygate. | Um Doppelzahlungen (z.B. durch ETM) zu vermeiden, übergeben Sie einen alphanumerischen Wert, der Ihre Transaktion oder Aktion identifiziert und nur einmal vergeben werden darf. Falls die Transaktion oder Aktion mit derselben ReqID erneut eingereicht wird, führt das Computop Paygate keine Zahlung oder weitere Aktion aus, sondern gibt nur den Status der ursprünglichen Transaktion oder Aktion zurück. Bitte beachten Sie, dass das Computop Paygate für die erste initiale Aktion (Authentifizierung/Autorisierung) einen abgeschlossenen Transaktionsstatus haben muss. Dies gilt nicht für 3-D Secure Authentifizierungen, die durch einem Timeout beendet werden. Der Status 3-D Secure Timeout gilt nicht als abgeschlossener Status, bei dem ReqID-Funktionalität am Paygate nicht greift. Einreichungen mit identischer ReqID auf einen offenen Status werden regulär verarbeitet. Hinweis: Bitte beachten Sie, dass eine ReqID nur 12 Monate gültig ist, danach wird sie vom Paygate gelöscht. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
--- | an64 | M | Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: | Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier: |
Parameter für Storno von Zahlungen mit Klarna Payments
Die folgende Tabelle beschreibt die Parameter, die das Paygate als Antwort zurückgibt: es können jederzeit neue Parameter hinzugefügt bzw. die Reihenfolge geändert werden
die Parameter (z.B. mid, RefNr) sollten nicht auf Groß-/Kleinschreibung geprüft werden
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
ans..30 | M | MerchantID, assigned by Computop | HändlerID, die von Computop vergeben wird |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
PayID | "paymentId": "..." | an32 | M | ID assigned by Paygate for the payment, e.g. for referencing in batch files as well as for capture or credit request. | Vom Paygate vergebene ID für die Zahlung; z.B. zur Referenzierung in Batch-Dateien sowie im Capture- oder Credit-Request. |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
XID | "xId": "..." | an32 | M | ID for all single transactions (authorisation, capture, credit note) for one payment assigned by Paygate | Vom Paygate vergebene ID für alle einzelnen Transaktionen (Autorisierung, Buchung, Gutschrift), die für eine Zahlung durchgeführt werden |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
TransID | "transactionId": "..." | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
refnr | "referenceNumber": "..." | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Description | "description": "..." | ans..1024 | M | Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis! | Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus! |
Key | REST | Format | CND | Description | Beschreibung |
---|---|---|---|---|---|
Code | "code": ... | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Key | REST | Format | CND | Description | Beschreibung | |
---|---|---|---|---|---|---|
CodeExt | ans..50 | O | Error code from Klarna, if agreed with Computop Helpdesk | Fehlercode von Klarna, wenn mit Computop Helpdesk abgesprochen | ||
ErrorText | ans..1024 | O | Error text from Klarna, if agreed with Computop Helpdesk | Fehlertext von Klarna, wenn mit Computop Helpdesk abgesprochen |
Rückgabe-Parameter für Storno von Zahlungen mit Klarna Payments
Batch-Nutzung der Schnittstelle
Grundsätzliche Informationen zur Arbeit mit Batch-Dateien sowie zu deren Aufbau erfahren Sie im separaten Handbuch zum Batchmanager. Im Batch-Verfahren sind nicht alle Funktionen verfügbar, die für die Online-Schnittstelle verfügbar sind.
Dieses Kapitel beschreibt die Parameter, die Sie im Datensatz (Record) für die Ausführung einer Zahlung mit Klarna Payments übergeben müssen und welche Informationen Sie der Antwort-Datei über den Status des Zahlungsvorgangs entnehmen können.
Bei Buchung unterscheiden sich die Aufrufe zwischen Komplett- und Teil-Aktivierung. Bei einer Teilbuchung muss zusätzlich die Artikelliste bei <ArticleList> mit übergeben werden. Ebenso ist zusätzlich der Parameter <ArticleList> erforderlich, wenn eine Teil-Gutschrift auf eine Komplett-Aktivierung erfolgt. Bei einer Teil-Gutschrift auf eine Teil-Aktivierung hin sind die beiden Parameter <ArticleList> und <InvNo> zusätzlich erforderlich. Alle Zusatzparameter kommen ebenfalls in der Antwortdatei mit zurück.
Folgende Tabelle gibt eine Übersicht der pro Aktion jeweils möglichen Batch-Versionen und ihrer Besonderheiten:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Action | Version | Description | Beschreibung |
---|---|---|---|
Capture | 1.0 / 2.0 | Standard version without return of parameter Code | Standardversion ohne Rückgabe von Parameter Code |
1.x / 2.x | with RefNr (valid for all versions other than 1.0) | mit RefNr (gilt für alle Versionen außer 1.0) | |
Credit | 1.0 / 2.0 | Standard version without return of parameter Code | Standardversion ohne Rückgabe von Parameter Code |
1.x / 2.x | with RefNr (valid for all versions other than 1.0) | mit RefNr (gilt für alle Versionen außer 1.0) | |
Reverse | 1.0 / 2.0 | Standard version without return of parameter Code | Standardversion ohne Rückgabe von Parameter Code |
1.x / 2.x | with RefNr (valid for all versions other than 1.0) | mit RefNr (gilt für alle Versionen außer 1.0) |
Beschreibung der möglichen Batch-Versionen
Der Aufbau für eine Zahlung mit Klarna Payments in einer einzureichenden Batch-Datei sieht folgendermaßen aus:
HEAD,<MerchantID>,<Date>,<Version> KLARNAPM,CAPTURE,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID> KLARNAPM,CAPTURE,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>,<ArticleList> KLARNAPM,CREDIT,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID> KLARNAPM,CREDIT,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>,<ArticleList> KLARNAPM,REVERSE,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID> FOOT,<CountRecords>,<SumAmount>
Beispiel für Master MID-Funktion:
HEAD,[Master]MerchantID,Date,2.x Type,Action,[Slave]MID,Amount,Currency,TransID,Data (depends on Action) FOOT,CountRecords,SumAmount
Die folgende Tabelle beschreibt die einzelnen Felder und Werte, die im Datensatz (Record) innerhalb der Batch-Datei verwendet werden:
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
Type | a..11 | M | HEAD for Header, FOOT for Footer, KLARNAPM for Klarna Payments | HEAD für Header, FOOT für Footer, KLARNAPM für Klarna Payments |
Action | a..20 | M | The parameter Action defines the type of transaction: Capture Credit Reverse (cancellation) | Der Action-Parameter definiert die Art der Transaktion: Capture (Buchung) Credit (Gutschrift) Reverse (Storno) |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
Amount | n..10 | M | Amount in the smallest currency unit (e.g. EUR Cent). Please contact the Computop Helpdesk, if you want to capture amounts <100 (smallest currency unit). | Betrag in der kleinsten Währungseinheit (z.B. EUR Cent). Bitte wenden Sie sich an den Computop Helpdesk, wenn Sie Beträge < 100 (kleinste Währungseinheit) buchen möchten. |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
Currency | a3 | M | Currency, three characters DIN / ISO 4217, permitted are: AUD, CHF, DKK, EUR, GBP, NOK, SEK, USD. | Währung, drei Zeichen DIN / ISO 4217, zulässig sind: AUD, CHF, DKK, EUR, GBP, NOK, SEK, USD. |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
TransID | ans..64 | M | TransactionID provided by you which should be unique for each payment | Ihre eigene TransaktionsID, die für jede Zahlung eindeutig sein muss |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
refnr | ans..30 | O | Merchant’s unique reference number | Eindeutige Referenznummer des Händlers |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
PayID | an32 | M | ID assigned by Paygate for this transaction | Vom Paygate vergebene ID für diese Transaktion |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
InvNo | ans..30 | O | Invoice number for a part activation or part credit. Longest InvNo so far had 17 digits. | Rechnungsnummer für eine Teil-Aktivierung oder Teil-Gutschrift. Längste InvNo bisher war 17stellig. |
Beschreibung der Felder im Datensatz von Batch-Dateien
Der Record-Bereich in der Antwort-Datei zu Batch-Transaktionen sieht folgendermaßen aus:
HEAD,<MerchantID>,<Date>,<Version> KLARNAPM,CAPTURE,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>,<Status>,<Code> KLARNAPM,CAPTURE,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>,<ArticleList>,<InvNo>,<Status>,<Code> KLARNAPM,CREDIT,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>,<Status>,<Code> KLARNAPM,CREDIT,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>,<ArticleList>,<InvNo>,<Status>,<Code> KLARNAPM,REVERSE,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>,<Status>,<Code> FOOT,<CountRecords>,<SumAmount>
Die folgende Tabelle beschreibt die Antwort-Parameter, die der Batch-Manager im Record-Bereich zu jeder Transaktion speichert (hier nicht erklärte Standardparameter wie etwa <TransID> oder <RefNR> und Aufrufparameter werden unverändert zum Aufruf wieder zurückgegeben und sind vorstehend beschrieben):
Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.
The table is being loaded. Please wait for a bit ...
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
Action | a..20 | M | The parameter Action defines the type of transaction: Capture Credit Reverse (cancellation) | Der Action-Parameter definiert die Art der Transaktion: Capture (Buchung) Credit (Gutschrift) Reverse (Storno) |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
PayID | an32 | M | ID assigned by Paygate for this transaction | Vom Paygate vergebene ID für diese Transaktion |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
Status | a..50 | M | OK (URLSuccess) or FAILED (URLFailure) | OK (URLSuccess) oder FAILED (URLFailure) |
Key | Format | CND | Description | Beschreibung |
---|---|---|---|---|
Code | an8 | M | Error code according to Paygate Response Codes (A4 Error codes) | Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes) |
Beschreibung der Ergebnis-Parameter im Datensatz von Batch-Dateien