Connect
  1. Order Guide
Connect
  • Connect/ConnectID API Reference
  • Overview
    • API lifecycle
    • OAuth 2.0
    • About the URLs
    • Google analytics
    • Unite payment SDK
    • Events
      • Authentication
      • Connect realtime events
      • ConnectID events
  • Customer Data
    • Address
      • Change addresses
      • List addresses
      • List addresses - client mode
      • List addresses for product - client mode
      • List addresses for product
    • Category
      • List category types
      • List category codes
      • List category codes for category type
    • Customer
      • List customer info
      • Change customer Info
      • Search customer - client mode
      • Check customer number - client mode
      • List customer info - client mode
    • External Reference
      • Remove external reference - client mode
      • Change external reference - client mode
      • List external references - client mode
      • Register external reference - client mode
  • Order Management
    • Article
      • Check article price
    • Coupon
      • Check coupon price - client mode
      • List coupon - client mode
      • List coupon for coupon number - client mode
    • Fulfillment
      • Complete order - client mode
    • Order
      • Order Guide
        • Introduction
        • How to register an order
        • Complete order by fulfillment URL
        • Complete order by fulfillment API
        • Q&A for order
      • List orders
        GET
      • Search order details
        POST
      • List order product history
        GET
      • List order status - client mode
        GET
      • Register customer - client mode
        POST
      • Register customer
        POST
      • Register order - client mode
        POST
      • Register order
        POST
    • Reward
      • Check reward - client mode
    • User
      • Assign user - client mode
    • Voucher Coupons
      • List voucher code coupons - client mode
  • Payment Services
    • Invoice
      • List invoice details
      • List invoices - client mode
      • List invoices for product - client mode
      • List invoices and reminders
      • List invoices and reminders for product
      • List basic invoice info
      • List basic invoice info for product
    • InvoiceAddress
      • List invoice address
    • Klarna
      • List klarna recurring tokens
      • Add Klarna token
      • Remove Klarna token
    • Nexi
      • List Nexi subscriptions
      • Add Nexi subscription
      • Remove Nexi subscription
    • PayEx
      • List PayEx tokens
      • Add PayEx token
      • Remove PayEx token
    • Payment
      • List payment methods
      • Pay invoice
      • Change payment method
    • Vipps
      • List vipps agreements
      • Add vipps agreement
      • Remove vipps agreement
  • Privacy
    • Consent
      • Access private data
      • Remove private data
      • List consent event history - client mode
      • List consent text - client mode
      • List consent text history - client mode
      • List consent groups - client mode
      • List consent given issuer - client mode
      • List consent event history
      • List consent given issuer
      • List consent groups
      • Register consent event - client mode
      • Register consent event
    • Permission/Shield
      • List global permissions
      • List enterprise permissions
      • Change enterprise permissions
      • List ordertype permissions
      • Change ordertype permissions
      • Check shield ordertype - client mode
      • Check shield enterprise - client mode
    • Privacy
      • List privacy enterprise
      • Change privacy enterprise
      • List privacy ordertype
      • Change privacy ordertype
  • Product & Services
    • Complaint
      • Register complaint
      • List complaints
    • Delivery
      • List next distributions
      • List next distributions - client mode
    • DeliveryStop
      • Remove delivery stops
      • Register delivery stops
      • List delivery stops
      • List delivery stop - client mode
    • Issue
      • List distributed issues
      • List product issues - client mode
    • Product
      • List products - client mode
      • Check product - client mode
      • List specific products - client mode
    • ProductDeliveryPlan
      • List productdeliveryplan - client mode
    • ProductDependency
      • Check product dependency discount - client mode
    • Sharing
      • Send subscription share invitation
      • Accept subscription share invitation
      • Decline share - client mode
      • List shareable subscription rules
      • List distribution levels
      • Change subscription share invitation details
      • List all shared subscribers
      • Cancel sharing
      • List shareable subscription nets
      • Change shareable subscription nets
      • Change distribution level
    • Subscription
      • List shared subscriptions
      • List subscriptions
      • Start subscription
      • List subscriptions - client mode
  • Recruitment
    • Recruitment
      • Register recruitment - client mode
      • List recruitments
      • List premium recruitments
      • Change premium recruitments
      • Register recruitments
    • RecruitmentCampaign
      • List recruitment campaign - client mode
  • User Data
    • Access
      • Check access
      • Check access - client mode
    • Credential
      • Check credential - client mode
    • Metadata
      • List metadata
      • Change metadata
      • Remove metadata
      • List metadata - client mode
      • Change metadata - client mode
      • Remove metadata - client mode
    • Profile
      • List user profile
      • List external user profiles
  • Diverse
    • External Identity
      • Register external Id - client mode
      • Register customer - client mode
    • Message
      • List messages
      • Send message
      • Send message - client mode
    • Status
      • List status messages
    • Stock
      • Change stocks - client mode
      • List stocks - client mode
      • List stocks for product - client mode
  1. Order Guide

Complete order by fulfillment API

In this article we are focusing on how to fulfill a order by using the fulfillment API. You may use the fulfillment API to fulfill a order if the order is prepaid or the user involvement is not needed for processing the payment. This applies to payment method sms, invoice, free, kco (klarna), swishPayex, vippsEcommerce and other. You may also use this API endpoint for prepaid orders made by UnitePay (e.g. payment method vippsRecurring).

Step 6: Complete your order by fulfillment API#

The next step is to complete (fulfill) the order by using the fulfillment API. Before you can fulfill the order, you need to have an orderId. You received this orderIdwhen you registered the order in step 4. We have described how to fulfill the order based on different payment methods below.
A detail description of the fields in Complete order - client mode is described in our API documentation.

Payment method sms :#

The payment provider for paymentMethod sms is Link Mobility. This means Link Mobility is responsible for processing the payment. A detailed description of processing sms payment is given below.
1.
You must send a fulfillment request by using the fulfillment API.
2.
The system will send a request for processing the payment to Link Mobility.
3.
You may use the callbackUrl to check if the payment is fulfilled. The parameter fulfillmentStatus is added to the url and GET method is used. The fulfillmentStatus says whether the payment process was successful or failed.
4.
The system will stop the order if the fulfillmentStatus is failed (order is not paid). If the fulfillmentStatus is success (order is paid) and the order has followed the process described for how to grant temporary access when you registered the order in step 3, then the system will grant a temporary access.

Payment method invoice and free:#

It is not needed to do a redirected to a payment provider for processing the payment. A detailed description of processing the payment for these payment methods are described below.
1.
You must send a fulfillment request by using the fulfillment API.

Fulfillment with prepaid orders :#

It is not needed to do a redirected to a payment provider for processing the payment since the order is prepaid. A detailed description of processing the order for prepaid transactions.
1.
You must send a fulfillment request by using the fulfillment API.
2.
The system will grant a temporary access if the order has followed the process described for how to grant temporary access when you registered the order in step 3.
3.
Our system sends a SMS or an email to the credential set in the field credential. The SMS or email contains a link to login. In this link we include returnUrl and errorUrl. The life time of the link is defined in linkLifetime.

Step 7: Assign the user to the order#

You can skip this step if the user was logged into the system before order registration.
You need to asscociate the user to the order if the user was not logged into the system before order registration. This means you used for example client API
Register order - client mode for order registration.
The Assign user API will check if the user has an account. A user account will be created if the user does not have an account. If the user has an account, the existing account will be used. The response from the API will inform if the password is set or not. The user account will be associated to the order by the specified orderId.
Please see the Assign user - client mode in API documentation for a detail description of the fields.
Previous
Complete order by fulfillment URL
Next
Q&A for order
Built with