Payment complete call

This method should be called when receiving a http-report from the payment service provider. The paymentParameters should be populated with received parameters. This method creates the order. PSPs calls the API directly and this method should never be called directly from the application.

Request
Request Body schema:

Supported values are 'orderref' and 'transactionnumber'. These values are provided by the payment provider in their call. General: 'test'=true to enable tests.

Array
Name
string

The Name of the Entity. MaxLength: 50

Value
string

The Value of the Entity. MaxLength: max

Responses
200

Success

400

Bad Request

Key: CannotCreatOrderOnBasket. Gets raised if the basket is not buyable and not already paid for.

Key: PaymentFailed. Gets raised when the payment fails.

500

Internal Server Error

post/ShoppingService.svc/rest/PaymentComplete
Request samples
[
  • {
    }
]
Response samples
{
  • "Status": "string",
  • "StatusDescription": "string",
  • "BasketId": 0,
  • "OrderNo": "string",
  • "PaymentCode": "string",
  • "PaymentReference": "string",
  • "HostedPaymentPage": "string",
  • "RedirectUrl": "string",
  • "RedirectParameters": [
    ],
  • "IsSyncronous": true,
  • "PaymentServiceId": 0
}