 | PaymentServiceCompletePayment Method |
Completes the payment.
Namespace:
AMCS.Elemos.IntegrationService.Services.Payment
Assembly:
AMCS.Elemos.IntegrationService (in AMCS.Elemos.IntegrationService.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic PaymentCompletionRequestResponseEntity CompletePayment(
string authKey,
PaymentCompletionRequestEntity paymentCompletionRequest
)
Public Function CompletePayment (
authKey As String,
paymentCompletionRequest As PaymentCompletionRequestEntity
) As PaymentCompletionRequestResponseEntity
Parameters
- authKey
- Type: SystemString
The authentication key. This is an auto generated key generated by AMCS and should be provided to gain access to the system. This key is used to audit all methods and transactions performed using this interface. - paymentCompletionRequest
- Type: AMCS.Elemos.IntegrationService.Entity.PaymentPaymentCompletionRequestEntity
The payment completion request.
Return Value
Type:
PaymentCompletionRequestResponseEntity
ExceptionsException | Condition |
---|
FaultException |
new FaultCode("CompletePayment")
|
FaultReason | |
Exception | Payment Transaction + paymentCompletionRequest.PaymentTransactionId.Value + could not be found
or
Complete Payment + paymentCompletionRequest.PaymentTransactionId.Value + could not save payment |
FaultCode | CompletePayment |
FaultException | new FaultCode(CompletePayment) |
See Also