Closed ornfelt closed 1 year ago
I've updated the WebpayWS service reference and added support for NavigationURLs in OrderBuilder.
Example usage:
CreateOrderEuResponse response = WebpayConnection.CreateOrder(_conf) .AddOrderRow(TestingTool.CreateExVatBasedOrderRow()) .AddOrderRow(TestingTool.CreateExVatBasedOrderRow()) .AddCustomerDetails(Item.IndividualCustomer() .SetNationalIdNumber(TestingTool.DefaultTestIndividualNationalIdNumber) .SetIpAddress("123.123.123")) .SetCountryCode(TestingTool.DefaultTestCountryCode) .SetOrderDate(TestingTool.DefaultTestDate) .SetClientOrderNumber(TestingTool.DefaultTestClientOrderNumber) .SetCurrency(TestingTool.DefaultTestCurrency) .AddNavigationUrls("https://my_confirmation_url.se", "https://my_rejection_url.se") .UseInvoicePayment() .DoRequest();
I've updated the WebpayWS service reference and added support for NavigationURLs in OrderBuilder.
Example usage:
CreateOrderEuResponse response = WebpayConnection.CreateOrder(_conf) .AddOrderRow(TestingTool.CreateExVatBasedOrderRow()) .AddOrderRow(TestingTool.CreateExVatBasedOrderRow()) .AddCustomerDetails(Item.IndividualCustomer() .SetNationalIdNumber(TestingTool.DefaultTestIndividualNationalIdNumber) .SetIpAddress("123.123.123")) .SetCountryCode(TestingTool.DefaultTestCountryCode) .SetOrderDate(TestingTool.DefaultTestDate) .SetClientOrderNumber(TestingTool.DefaultTestClientOrderNumber) .SetCurrency(TestingTool.DefaultTestCurrency) .AddNavigationUrls("https://my_confirmation_url.se", "https://my_rejection_url.se") .UseInvoicePayment() .DoRequest();