Paytrail is a Finnish payment institution through which your customers pay in your Johku online store with the online payments of all Finnish banks, with card payments such as Visa, Mastercard and Amex cards, and with mobile payments such as MobilePay, Apple Pay and Google Pay. When you make the Paytrail agreement through Johku, the Paytrail credentials are saved in Johku automatically. If you already have a Paytrail agreement, you enter the credentials in Johku yourself.
Before you start
Payment processing is a paid service, and Paytrail charges the costs directly from you: Johku is not a party to these.
You need administrator rights in Johku.
1. Make a Paytrail agreement or connect an existing one
Proceed according to your situation:
You are setting up a Johku shop
In the Payment provider applications section of the registration form, select Paytrail, and Johku makes the Paytrail application for you. Guide: Register a Johku shop. When the agreement is ready, the credentials are saved in Johku automatically. Continue to step 2.
You have a Johku shop but no Paytrail agreement
In the Johku admin, open Settings → General settings → Paying.
Click the Paytrail heading.
Select Create Paytrail account and make the agreement with Paytrail.
When the agreement is ready, the credentials are saved in Johku automatically. Continue to step 2.
You already have a Paytrail agreement
Enter the credentials in Johku yourself:
In the Johku admin, open Settings → General settings → Paying.
Click the Paytrail heading.
In the Merchant ID field, enter the numeric merchant ID you got from Paytrail.
In the Secret key field, enter the secret key you got from Paytrail.
Click Save. Then continue to step 2.
2. Enable Paytrail
Open Settings → General settings → Paying.
Click the Paytrail heading.
Check that the Merchant ID and Secret key fields have the credentials.
If you like, give the payment method its own name in the Title field. By default, the title is Paytrail.
Select Enabled and selectable for online orders.
Click Save.
3. Test paying
Make a test purchase in your shop and select Paytrail as the payment method on the order page. If Paytrail is the only payment method of your shop, it is selected automatically.
When the payment buttons of the banks and cards open on the order page and they take you to the bank's portal, the credentials are correct and paying with Paytrail works.
You don't add the Paytrail payment banner to Johku yourself: the logo appears at the bottom of the order page automatically when Paytrail is enabled and the customer selects it as the payment method.
Refunding Paytrail payments
You can refund a Paytrail payment to the customer directly from Johku: open the paid order or invoice on the Orders or Transactions page, open the Refund transaction menu and select Refund transaction and Paytrail payments. The money returns to the customer through Paytrail automatically. Guide: Cancel and refund an order.
When you refund an order paid with Paytrail with the Refund receipt action of the POS, Johku returns the whole Paytrail payment to the customer automatically.
Refund transaction alone, without returning the Paytrail payments, records the refund in Johku's reports but does not return the Paytrail payment.
In other cases, including partial refunds, return the payment in Paytrail's portal. First check in the portal that the refund has not already been made.
If something goes wrong
The credentials have not been saved in Johku: if you made the agreement through Johku, the Paytrail agreement is not ready yet. Check the status of the agreement with Paytrail.
The payment buttons don't open on the order page: check that the merchant ID and the secret key are correct and that Enabled and selectable for online orders is selected. If the details are correct, contact Johku support.
You refunded the order in Johku, but the customer didn't get their money: check whether you selected Refund transaction and Paytrail payments in the refund, and see in Paytrail's portal whether the refund shows on the original transaction. If the refund doesn't show, make it in the portal. Checklist: The customer hasn't received a refund.
The refund to Paytrail failed: if the refund to Paytrail fails, Johku shows an error message and the transaction is not refunded, so you can try the refund again later. If Paytrail rejects the refund, the reason is recorded in the shop's Issues list. If the refund doesn't work through Johku, make the refund in Paytrail's portal and refund the order in Johku with the plain Refund transaction action.