Click or drag to resize
Infosoft Logo

IMobilePayPaymentServiceAddExistingMobilePayAgreementToOrder Method

Adds an existing mobile pay agreement to order.

Namespace: Infosoft.Common.Contracts.ServiceContracts.Subscriptions.Economy.Payments
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax
Task<AddMobilePayAgreementToOrderResponse> AddExistingMobilePayAgreementToOrder(
	AddMobilePayAgreementToOrderRequest request
)

Parameters

request  AddMobilePayAgreementToOrderRequest
The request.

Return Value

TaskAddMobilePayAgreementToOrderResponse
An asynchronous result that yields an AddMobilePayAgreementToOrderResponse.
Remarks
First the agreement SHOULD be created with a one-off payment as described here: https://mobilepaydev.github.io/MobilePay-Subscriptions/index#oneoffpayments The resulting AgreementId and One-Off-PaymentId is added to the order flow, such that the flow in terms of Web Service method calls becomes: 1. OrderSubscription(with ParticipateInOnlinePaymentFlow = true and PaymentType = "MPS") 2. AddExistingMobilePayAgreementToOrder - using OrderId, Mobile Pay Agreement Id and One-Off-PaymentId. 3. CompleteSubscription
See Also