GetPaymentForm starts a forms based checkout by populating a code snippet in some of the RedirectParameters. If the checkout supports modifications of the Storm basket in any way, a new call to GetPaymentForm must be made in order to update the code snippet with correct values. See Checkout Form Payment for more information about the checkout process.
General: 'Mobile'='True' to enable javascript for mobile phones.
Success
Bad Request
Key: BasketItemNotBuyable. Gets raised when the basket item is not buyable or when it is inactive.
Key: BasketItemQuantityLessThanZero. Gets raised when the basket item quantity is less than zero.
Key: DiscountCodeAlreadyUsed. Gets raised when the discount code is already used.
Key: InvalidCompanyOnBasket. Gets raised when the basket has an invalid company. The customer does not exist in this company.
Key: PaymentFailed. Gets raised when the payment fails.
Key: PromotionInvalid. Gets raised when the promotion is invalid.
Key: QuotationMissing. Gets raised when the basket is missing.
Key: BasketContainsSomeUnbuyableItems. Gets raised when the basket has some unbuyable items.
Key: BasketContainsNoBuyableItems. Gets raised when the basket does not have any buyable items.
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
}