Click or drag to resize
Infosoft Logo

IVippsRecurringPaymentServiceCreateVippsAgreement Method

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.

Namespace: Infosoft.Common.Contracts.ServiceContracts.Subscriptions.Economy.Payments
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax
Task<VippsAgreementResponse> CreateVippsAgreement(
	CreateVippsAgreementRequest request
)

Parameters

request  CreateVippsAgreementRequest
The request.

Return Value

TaskVippsAgreementResponse
The response with the information from Vipps.
Remarks
Hanmsoll, 10.10.2018.
See Also