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.
Success
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.
Internal Server Error
[- {
- "Name": "string",
- "Value": "string"
}
]
{- "Status": "string",
- "StatusDescription": "string",
- "BasketId": 0,
- "OrderNo": "string",
- "PaymentCode": "string",
- "PaymentReference": "string",
- "HostedPaymentPage": "string",
- "RedirectUrl": "string",
- "RedirectParameters": [
- {
- "Name": "string",
- "Value": "string"
}
], - "IsSyncronous": true,
- "PaymentServiceId": 0
}