Welcome to the setup guide.
Getting this plugin setup will only take around 30 mins; this guide will be broken down into steps. You must first do a test transaction using the test Post Finance e-payment account. The Post Finance e-payment team will supply you with two logins, one for testing and the other for life. You can get to both the test and live logins from here.
It is always best practice when setting up a payment gateway to do this in test mode first and run several orders before switching to live mode.
Install the plugin & activate the license key; once this is done, you want to navigate to the plugin settings page; which can be found in the WooCommerce settings:
The essential items here for the setup are PSPID, SHA-IN, SHA-OUT & SHA encryption methods.
These settings will need to be matched with what you enter in the Post Finance e-payment back office.
The next set of items is done in the Post Finance e-payment back office; you can log in to the test account here. Once logged in, you need to navigate to the technical settings area. It is important to note that whatever changes to make in the test account, you must match in the live account.
From this area, we have access to all the sections we need to change/edit.
How to know if you are using the Post Finance e-payment test account? When you have logged in, look at the Post Finance e-payment logo. To the right of it, you will see TEST in red like this:
If you don’t have access to the test account, you/your client will need to reach out to the Post Finance e-payment team https://www.postfinance.ch/en/business/support.html and ask for logins again.
It’s also important to note that if the Post Finance e-payment account is new, you won’t be able to switch to live mode until you have done several test orders and applied to go live (You will see the option on the main Post Finance e-payment Home screen).
In this section, you need to decide which operation mode you want to run the payment gateway.
Based on these two steps, you can choose between two default operation codes:
In this section, we pick and match the SHA encryption method we set in the plugin settings.
We have two items to set/change in this section. The first item is setting the payment page URL; this is the last URL on the website before the customer is sent to the Post Finance e-payment servers to make the payment; it normally looks like the following.
Change the domain.co.uk to match your website address; without this set correctly, the payment gateway will not work; it is possible to have multiple domains/websites in this field. Add a ; between the URL’s as shown.
The next item here is the SHA-IN. This must match what you have in the plugin settings. We recommend that you use letters and numbers only in this setting and that it has a maximum of 16 characters.
Again, in this section, we have only two items. The first one is to make sure that the tick box labeled “I would like to receive transaction feedback parameters on the redirection URLs.” is ticked.
Without this ticked, the Post Finance e-payment system won’t send data back to the website. This means you will get orders with pending payment and then fail. This is an important setting.
The next item here is the SHA-OUT; you will need to scroll down a little to see the option.
Again, this must match what you have set in the plugin settings; we recommend that you use letters, and numbers and it should also have a maximum of 16 characters.
The final item here is the parameters that will be sent back to the website.
You only want the following in the selected section:
This is very important if you sell products to EU customers. From 14 September 2019, all EU (Brexit has no effect on this) credit card transactions could be rejected if your store does not have 3D secure setup.
With the enforcement of the Strong Customer Authentication (SCA) & Payment Services Directive (PSD), it is important to get the Post Finance e-payment back-office set up and ready. Thankfully this is quite simple. Navigate to
And you will see something like the following:
The key here is to ensure that 3D secure is active on the card brands you wish to use on the website.
Well done, you have now finished the setup of the plugin! Now the important thing to do is test the payment gateway a few times before going live.
If you have any errors/issues, you first want to check the Post Finance e-payment error log section.
In the description field, you will most likely find an error code, something like unknown order/1/r. If you do, you can have a look here at the troubleshooting error codes. There you will find out what the issue is and what is needed to fix it.
If you are still having issues, then enable the plugins debug log in the settings.
Run some test transactions, and if the plugin finds something wrong with the plugin setup, it will log this and tell you how to fix this. You can find the log by going here:
Here we can see the log saying that the transaction is confirmed, and no issues found.
If you still face issues, then send a support ticket, and we will have a look for you.
Please be ready to send screenshots of the plugin & Post Finance e-payment settings, and the debug log.
Was this helpful?
Our team are on hand to provide fast, helpful and professional support.
Welcome to our AG Bot, powered by OpenAI and trained on our documents and product pages. By continuing to use this service, please keep in mind: