Click or drag to resize
Infosoft Logo

IVippsRecurringPaymentService Methods

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
See Also