|
IOnlinePaymentServiceStartPayment Method |
Starts a payment. This method must always be called in order to initiate a transaction.
Namespace: Infosoft.Common.Contracts.ServiceContracts.Economy.PaymentsAssembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax No code example is currently available or this language may not be supported.
Parameters
- request StartPaymentRequest
-
A request object that contains various parameters. See the documentation for the class
StartPaymentRequest for details.
Return Value
StartPaymentResponse
A response object that contains the PaymentProcess object that represents the ongoing transaction, as well as the URL the end user
should be redirected to.
Example
There are two important things to remember about the money-related values passed to this method:
1. The price must be in the smallest possible unit.
2. The VAT should be included in the price.
This example illustrates both of the above: If the total price that the customer should pay (including VAT) is $11, of which $1 represents VAT,
then the price parameter should be 1100 and the VAT parameter should be 100.
See Also