Skip to content

    Payment methods

    This section describes which payments are supported by Netaxept, how they can be added and how that affects both, the payment flow and how to process these payments.


    By now, we have explained how the card payment flow works, and how card payments can be processed.

    Get third party's agreements and credentials

    To be able to use Direct bank payments, Invoices or Wallet based payment methods in your webshop, you need to sign an agreement with each particular provider you want to use.

    After the chosen service has processed your agreement, they will provide you credentials which you need to enter to Netaxept Admin to activate the payment method in question. It is your responsibility to activate these payment methods in Netaxept Admin so please make sure all information entered is correct.

    For Vipps, you need to sign up with Vipps to get the merchant serial number. For MobilePay, you do not need any additional agreements. Please note that Vipps and MobilePay are additional paid payment methods, which means that you will be invoiced payment method specific fees in addition to the regular Netaxept monthly and transaction fees.

    Please refer to the Swish section to learn about how to activate Swish.

    Activate additional payment methods

    Here is how to activate additional payment methods in Netaxept Admin:

    • Log in to Netaxept Admin with your Netaxept credentials (test or production)
    • Find the Agreement tab under Options.
    • Choose the correct payment method from the drop down list and click "Add".
    • Choose the correct currency and enter the third party's credentials. The number of credentials varies between different providers, as does the terminology.
    • Save your changes by clicking "Add".

    Get payment details - Query call

    The operations you can perform to process payments depend on the payment method chosen by the customer. For example, calls such as Process(AUTH), Process(CAPTURE) and Process(SALE), can't be performed on direct bank payments, since Netaxept triggers the AutoSale for the transaction.

    To be sure about what payment method has been used, you must implement the Query call into your payment flow.

    In addition to verifying the payment method used by the user, the Query call is useful in the following scenarios:

    • If the payment method used by the customer is not known after the Register call and the Terminal phase, use the Query call to find out the payment method and then take further action based on that.
    • If you receive an error, use the Query call to get the full information available to do the correct error handling.
    • If you are unsure about the status of the transaction, use the Query call to check that the transaction has the correct status and the payment has succeeded. It is recommended to run the Query call before sending goods to the customer to verify that the money has actually been captured.
    • If you have saved card details for subsequent payments, run the Query call on the initial transaction to find out the value of the panHash parameter that needs to be stored on the customer profile for future purchases.

    The Query call's response will contain the payment method information.

    Query call example - line breaks for readability

    As shown in this example, one required parameter of the Query call is the transactionID. In order to get the necessary transactionID you need to implement callback functionality.

    We always suggest implementing callback functionality. Callbacks will send a transactionId whenever the transaction has a new status. The Query call can be triggered by that event and get detailed information about the payment in question based on the transactionId.

    This is how a Query call's response could look like:

    Query call response - example

    <PaymentInfo xmlns:xsi="" xmlns:xsd="">