Settings Postfinance Interface
Packagename im settings.xml: com.jaxforms.payment.provider.postfinance.CheckoutService.*
Property | Data type | Required | Default | Description |
---|
apiBaseUrl | String | x |
| Basis URL für den SaferPay REST-Service |
paymentCurrencyValue | 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) |
<?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>
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.
Momentan nicht unterstützt durch die Postfinance
SaveFormPostfinanceCheckoutModalAction