Click or drag to resize
Infosoft Logo

IVippsRecurringPaymentService Interface

The vipps recurring payment service.

Namespace: Infosoft.Common.Contracts.ServiceContracts.Subscriptions.Economy.Payments
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax
public interface IVippsRecurringPaymentService

The IVippsRecurringPaymentService type exposes the following members.

Methods
 NameDescription
Public methodCompleteVippsAgreement Complete Vipps MobilePay agreement. Before calling this method the user must approve the Vipps Agreement in the Vipps MobilePay application.
Public methodCreateVippsAgreement Creates a new Vipps MobilePay Recurring Agreement for given subscriber. Unlike credit cards, there is no way to do "two phased" agreement registrations, so it creates an agreement without an initial charge, and then charge it during startup(handled by invoiceprint routines). The flow will be like this: 1. Make a request to CreateVippsAgreement (VippsRecurringPaymentService) with input for identifying the subscription (SubscriptionIdentifier). 2. Before completing the order by calling CompleteVippsAgreement (VippsRecurringPaymentService) the user must approve the Vipps MobilePay Agreement in the Vipps MobilePay application.
Public methodCreateVippsOrderAgreement Creates a new Vipps MobilePay Recurring Agreement with a "two phased" agreement registrations. It is necessary to create an order with OrderSubscription before making a request to CreateVippsOrderAgreement. The flow will be like this: 1. Make a request to OrderSubscription (SubscriptionOrderService) with PaymentType = "VIPPS" OR "MPS" and "ParticipateInOnlinePaymentFlow = "true". 2. Then make a request to CreateVippsOrderAgreement (VippsRecurringPaymentService). Use the OrderReference from OrderSubscription as the OrderId. If the MobileNumber is empty the MobileTelephoneNumber in the OrderSubscription request will be used as the mobile number in the Vipps agreement. 3. Before completing the order by calling CompleteSubscription (SubscriptionOrderService) the user must approve the Vipps MobilePAy Agreement in the Vipps MobilePay application.
Public methodGetVippsRecurringPaymentAgreement Gets Vipps MobilePay recurring payment agreement.
Top
Remarks
Hanmsoll, 26.09.2018.
See Also