Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 12 Nächste Version anzeigen »

Settings Postfinance Interface

Packagename im settings.xml: com.jaxforms.payment.provider.postfinance.CheckoutService.* 

PropertyData typeRequiredDefaultDescription

apiBaseUrl

Stringx
Basis URL für den SaferPay REST-Service

paymentCurrency

String
Wert kann in Formular/Workflow überschrieben werden

Währung für Bezahlung

userId

Stringx
Username Postfinance API

apiKey

Stringx
Passwort Postfinance API

spaceId

Stringx
Customer-ID Postfinance API

paymentMethods

Listex
Payment methods SaferPay API

dialogWidth

int

Grösse des Dialogs

transactionCompletionBehaviour

Enum (String)

COMPLETE_DEFERRED [COMPLETE_IMMEDIATELY, COMPLETE_DEFERRED, USE_CONFIGURATION]

clientCallbackSuccess

Stringx
Callback URL for Client-Confirmation (iFrame)

clientCallbackFail

Stringx
Callback URL for Client-Error (iFrame)

serverCallback

Stringx
Callback URL for Server-Confirmation (REST)

instantBatchClose

Boolean
falseBatch Closing after each Transaktion (instead of daily Closing)






paymentAmount

floatx
Item.amount

paymentOrderDescription

Stringx
Item.name






Beispiel: payment-settings.xml Einstellungen
<?xml version="1.0" encoding="UTF-8"?>
<?jaxfront version=3.26.1;time=2019-04-11 16:39:07.663;xui=property.xui;xsd=property.xsd?>
<properties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="property.xsd">
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.apiBaseUrl</key>
  <value>https://checkout.postfinance.ch:443</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.paymentCurrencyValue</key>
  <value>CHF</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.userId</key>
  <value>12345</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.apiKey</key>
  <value>DEIN_API_KEY</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.spaceId</key>
  <value>12345</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.paymentMethods</key>
  <value>MASTERCARD, VISA, POSTCARD</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.dialogWidth</key>
  <value>680</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.transactionCompletionBehaviour</key>
  <value>COMPLETE_DEFERRED</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.clientCallbackSuccess</key>
  <value>http://localhost:8080/formservice/services/rest/generic/publicPage/[MANDANTNAME]/de/paymentSuccess.html</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.clientCallbackFail</key>
  <value>http://localhost:8080/formservice/services/rest/generic/publicPage/[MANDANTNAME]/de/paymentFailed.html</value>
 </property>
 <property mutable="true">
  <key>com.jaxforms.payment.provider.postfinance.CheckoutService.serverCallback</key>
  <value>http://localhost:8080/formservice/services/rest/generic/notifyPayment/[MANDANTNAME]/success</value>
 </property>
</properties>

Mapping

CheckoutJAXFormsDefaultBeschreibung
LineItem.amountIncludingTaxpaymentAmount

LineItem.namepaymentOrderDescription

LineItem.quantity
1
LineItem.sku
InstanceID (Form)
Kann im CheckoutService überschrieben werden -> getSKU()
LineItem.type
"PRODUCT"
LinteItem.uniqueId
InstanceID (Form)


Workflow Action

Das E-Payment-Plugin ist als Workflow-Aktion in ein Formular eingebunden.

Weiterleitung auf deine externe Seite. Sobald die Transaktion abgeschlossen ist, kehrt man auf das Formular zurück.

SaveFormPostfinanceCheckoutForwardAction


Die Transaktion wird in einem Dialog abgehandelt.

 (Warnung) Momentan nicht unterstützt durch die Postfinance (Warnung)
SaveFormPostfinanceCheckoutModalAction

  • Keine Stichwörter