Enter your PostFinance
Space ID,
App User ID and
Authentication Key.
In order to get User ID and Authentication Key, first you need to create an Application User in your PostFinance account. Go to Account > Users > Application User and follow the instructions. Note that the application should have assigned user roles that allow processing checkout payment transactions.
The currency set up for your site needs to be supported in your PostFinance account.
Before we can receive notifications about transaction updates, you need to set up webhooks in your PostFinance account that point to our service. Go to Space / Features and enable webhooks. Next, go to Space / Connect / Webhooks.
First you need to add a new Webhook url. Click Url next to Listener in the list at the top of the page. Next, click Create webhook URL. As the name type e.g. Planyo and in the Url field type
https://www.planyo.com/payment-postfinance-checkout-ipn.php
Next, go back to Listener and click Create webhook listener. In the Entity field select Transaction and click Next. On the next page, as Name you can type e.g. PlanyoTransaction. In the Url field choose the previously added Planyo url. In Entity state, add Completed, Fulfill and Decline. This way we will be notified about relevant transaction events. Click Create to finish.
Now, add one more webhook listener. This time select Refund in the Entity field. On the next page type e.g. PlanyoRefund as Name and in Entity State select only Successful.