From 2cdb9549dda574fc91f44aecefe6c4620257f050 Mon Sep 17 00:00:00 2001 From: ivar Date: Sun, 28 Apr 2024 22:32:17 +0200 Subject: Remove unsupported fields --- src/IOL.VippsEcommerce/Models/Api/TMerchantInfo.cs | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/IOL.VippsEcommerce/Models/Api/TMerchantInfo.cs') diff --git a/src/IOL.VippsEcommerce/Models/Api/TMerchantInfo.cs b/src/IOL.VippsEcommerce/Models/Api/TMerchantInfo.cs index 20b67b7..688dba9 100644 --- a/src/IOL.VippsEcommerce/Models/Api/TMerchantInfo.cs +++ b/src/IOL.VippsEcommerce/Models/Api/TMerchantInfo.cs @@ -5,13 +5,6 @@ namespace IOL.VippsEcommerce.Models.Api; public class TMerchantInfo { - /// - /// Authorization token that the merchant could share to make callbacks more secure. If provided this token will be returned as an `Authorization` header for our callbacks. This includes shipping details and callback. - /// - /// Authorization token that the merchant could share to make callbacks more secure. If provided this token will be returned as an `Authorization` header for our callbacks. This includes shipping details and callback. - //[JsonPropertyName("authToken")] - //public string AuthToken { get; set; } - /// /// This is an URL for Vipps to call at the merchant's server to provide updated information about the order after the payment request. Domain name and context path should be provided by merchant as the value for this parameter. Vipps will add `/v2/payments/{orderId}` to the end or this URL. URLs passed to Vipps must validate with the Apache Commons [UrlValidator](https://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/UrlValidator.html). We don't send requests to all ports, so to be safe use common ports such as: 80, 443, 8080. /// @@ -19,13 +12,6 @@ public class TMerchantInfo [JsonPropertyName("callbackPrefix")] public string CallbackPrefix { get; set; } - /// - /// Required for Vipps Hurtigkasse (express checkout) payments. This callback URL will be used by Vipps to inform the merchant that the user has revoked his/her consent: This Vipps user does do not want the merchant to store or use his/her personal information anymore. Required by GDPR. Vipps will add `/v2/consents/{userId}` to the end or this URL. URLs passed to Vipps should be URL-encoded, and must validate with the Apache Commons [UrlValidator](https://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/UrlValidator.html). We don't send requests to all ports, so to be safe use common ports such as: 80, 443, 8080. - /// - /// Required for Vipps Hurtigkasse (express checkout) payments. This callback URL will be used by Vipps to inform the merchant that the user has revoked his/her consent: This Vipps user does do not want the merchant to store or use his/her personal information anymore. Required by GDPR. Vipps will add `/v2/consents/{userId}` to the end or this URL. URLs passed to Vipps should be URL-encoded, and must validate with the Apache Commons [UrlValidator](https://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/UrlValidator.html). We don't send requests to all ports, so to be safe use common ports such as: 80, 443, 8080. - //[JsonPropertyName("consentRemovalPrefix")] - //public string ConsentRemovalPrefix { get; set; } - /// /// Vipps will use the fallBack URL to redirect the Vipps user to the merchant’s confirmation page once the payment is completed in Vipps. This is normally the “success page”, although the “fallback” name is ambiguous (the same URL is also used if payment was not successful). In other words: This is the URL Vipps sends the Vipps user back to. URLs passed to Vipps must validate with the Apache Commons [UrlValidator](https://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/UrlValidator.html). /// -- cgit v1.3