It was easy enough to connect to the Vipps API, but could we do it within technology that we use everyday in the Power Platform? We chose to have a look at Power Automate to see how this could be done.
When the Work Order reaches a certain stage we create a sales order. During this process we create a payment in Vipps. First thing we do is find the Contact from the Work Order.
After that we send an HTTP call to the Vipps service to receive an Access Token. This token is extracted via the Parse Json.
After parsing, we can now send the actual request to the Vipps API
We now have an active payment within Vipps that will send to a given user, and the user can continue to pay the sales order.