- run
build.ps1
- this generatesindex.html
- run
docker-build.ps1
- this creates and pushes the image calledszelpe/szelpe.hu:latest
You can run the docker image:
docker run -d -p 8080:80 szelpe/szelpe.hu:latest
Barion .NET library
License: GNU General Public License v3.0
Sziasztok!
Ma reggelig minden rendben volt a kártya elfogadással, viszont most az alábbi hiba üzenetet kapom, amikor elküldöm az adatokat:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at BarionClientLibrary.BarionClient.d__19.MoveNext() in C:\projects\barion-dotnet\BarionClientLibrary\BarionClient.cs:line 188 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at BarionClientLibrary.BarionClient.d__18.MoveNext() in C:\projects\barion-dotnet\BarionClientLibrary\BarionClient.cs:line 157 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at BarionClientLibrary.BarionClient.d__16.MoveNext() in C:\projects\barion-dotnet\BarionClientLibrary\BarionClient.cs:line 125 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at BarionClientLibrary.BarionClient.d__151.MoveNext() in C:\projects\barion-dotnet\BarionClientLibrary\BarionClient.cs:line 115 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult() at Package.buyTicket.d__6.MoveNext()
Van valami ötletetek?
Köszönöm,
István
Hi,
Please extend https://github.com/szelpe/barion-dotnet/blob/master/BarionClientLibrary/Operations/Common/PaymentStatus.cs with Expired status.
Thank you in advance!
Lajos
Target .NET Core 3 and start using nullable reference types in the project
Hi,
Do you have any information about Barion API changes for 3D Secure 2?
Thanks,
Lajos
Szeretném mock-olni unit teszt alatt a BarionClient objectumot de nincs interface-elve, lehetséges lenne rátenni?
Másik probléma teszt alatt hogy a BarionOperationResult IsOperationSuccessful nem irható tulajdonság, igy nem tudom variálni, azt hiszem lehetne mock-olni ha egy virtual kulcs lenne rajta, vagy lehetne egy konstruktort betenni, amivel lehet állítani ezt a property-t
Hello,
I have a problem with BarionClient version 2.0.0.6.
After checking payment state using the code:
var getPaymentState = new GetPaymentStateOperation
{
PaymentId = paymentId;
}
using var barionClient = new BarionClient(barionSetting);
var result = await barionClient.ExecuteAsync(getPaymentState);
I get the error:
Newtonsoft.Json.JsonSerializationException: Error converting value \"BankTransfer\" to type 'System.Nullable`1[BarionClientLibrary.Operations.Common.FundingSourceType]'. Path 'FundingSource', line 1, position 318.
---> System.ArgumentException: Requested value 'BankTransfer' was not found.\r\n at
Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, String value, Boolean disallowNumber)\r\n at
Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)\r\n
--- End of inner exception stack trace ---\r\n at
Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)\r\n at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)\r\n at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)\r\n at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)\r\n at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)\r\n at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)\r\n at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n at
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n at
Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)\r\n at
BarionClientLibrary.BarionClient.CreateResultFromResponseMessage(HttpResponseMessage responseMessage, BarionOperation operation)\r\n at BarionClientLibrary.BarionClient.SendWithRetry(BarionOperation operation, CancellationToken cancellationToken)\r\n at
BarionClientLibrary.BarionClient.ExecuteAsync(BarionOperation operation, CancellationToken cancellationToken)\r\n at
BarionClientLibrary.BarionClient.ExecuteAsync(BarionOperation operation)\r\n at
Could you please look into it? Thank you.
Marek
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.