|
IMobilePayPaymentServiceAddExistingMobilePayAgreementToOrder Method |
Adds an existing mobile pay agreement to order.
Namespace: Infosoft.Common.Contracts.ServiceContracts.Subscriptions.Economy.PaymentsAssembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax Task<AddMobilePayAgreementToOrderResponse> AddExistingMobilePayAgreementToOrder(
AddMobilePayAgreementToOrderRequest request
)
No code example is currently available or this language may not be supported.
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