...
| Property | Data type | Required | Default | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiBaseUrl | String | x | Basis URL für den SaferPay REST-Service | |||||||||
paymentCurrency | String | Wert kann in Formular/Workflow überschrieben werden | Währung für Bezahlung | |||||||||
userId | String | x | Username Postfinance API | |||||||||
apiKey | String | x | Passwort Postfinance API | |||||||||
spaceId | String | x | Customer-ID Postfinance API | |||||||||
paymentMethods | Liste | x | Payment methods SaferPay API | |||||||||
dialogWidth | int | Grösse des Dialogs | ||||||||||
transactionCompletionBehaviour | Enum (String) | COMPLETE_DEFERRED [COMPLETE_IMMEDIATELY, COMPLETE_DEFERRED, USE_CONFIGURATION] | ||||||||||
clientCallbackSuccess | String | x | Callback URL for Client-Confirmation (iFrame) | |||||||||
clientCallbackFail | String | x | Callback URL for Client-Error (iFrame) | |||||||||
serverCallback | String | x | Callback URL for Server-Confirmation (REST) | |||||||||
instantBatchClose | Boolean | false | Batch Closing after each Transaktion (instead of daily Closing) | paymentAmount | float | x | Item.amount | paymentOrderDescription | String | x | Item.name |
| Codeblock | ||||
|---|---|---|---|---|
| ||||
<?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
| Checkout | Default | JAXForms Variablen | Beschreibung |
|---|---|---|---|
customerId | "JAXForms" | paymentOrderData | Kann im CheckoutService überschrieben werden -> getCustomerId() |
merchantReference | RandomUUID | paymentOrderId | |
language | FormInstance.language | Fixer Wert kann nicht überschrieben werden | |
LineItem.amountIncludingTax | paymentAmount | ||
LineItem.name | FormInstance.toString() | paymentOrderDescription | Kann im CheckoutService überschrieben werden -> getItemName() |
LineItem.quantity | 1 | Fixer Wert kann nicht überschrieben werden | |
LineItem.sku | InstanceID (Form) | Kann im CheckoutService überschrieben werden -> getSKU() | |
LineItem.type | "PRODUCT" | Fixer Wert kann nicht überschrieben werden | |
LinteItem.uniqueId | InstanceID (Form) | Fixer Wert kann nicht überschrieben werden |
Workflow Action
Das E-Payment-Plugin ist als Workflow-Aktion in ein Formular eingebunden.
...