So far, new square plugin has been working great. Client had an issue today where a special price offer was sent to client, they clicked it and checked out on site showing discount. Then when it took them over to square, square also discounted them the dollar amount they had already received in nop checkout.
They had one item with price at $195.00. They sent special price for $100. Customer saw $95 discount during nop checkout. After going to square, it brought the discount over with Total of $100-$95. Only charging customer $5. Weirdly, the order was set to Pending on Nopcommerce, but other Square orders go to completed right away. Screenshots attached. Please let me know if you are able to fix this. Thanks
Good Morning,
Just saw the new Square Plugin and it looks awesome!
Is there anyway the implement yours so that if checkout is abandoned, items stay in shopping cart and order doesn't go to Pending? Thanks!
-Alex
Customer Tracking:
nopCommerce version: 4.10
Plugin Version: 1.06
I just turned on logging. Below is another exception from the nopcommerce log.
Log level
Error
Short message
The property 'Id' on entity type 'CustomerViewedProductsRec' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent value explicitly or ensure that the database is configured to generate values for this property.
Full message
System.InvalidOperationException: The property 'Id' on entity type 'CustomerViewedProductsRec' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent value explicitly or ensure that the database is configured to generate values for this property.
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Nullable`1 forceStateWhenUnknownKey)
at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value)
at Nop.Data.EfRepository`1.<>c.<GetFullErrorTextAndRollbackEntityChanges>b__3_1(EntityEntry entry) in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Data\EfRepository.cs:line 48
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Nop.Data.EfRepository`1.GetFullErrorTextAndRollbackEntityChanges(DbUpdateException exception) in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Data\EfRepository.cs:line 43
at Nop.Data.EfRepository`1.Insert(TEntity entity) in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Data\EfRepository.cs:line 86
at FoxNetSoft.Plugin.Misc.CustomerInterests.Services.CustomerInterestsService.InsertCustomerViewedProductRec(CustomerViewedProductsRec customerViewedProductsRec)
at FoxNetSoft.Plugin.Misc.CustomerInterests.Controllers.CustomerInterestController.SaveCustomerTracking(Int32 productId)
at lambda_method(Closure , Object , Object[] )
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 94
at Nop.Services.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Services\Authentication\AuthenticationMiddleware.cs:line 79
at FoxNetSoft.Plugin.Misc.Pagespeed.Infrastructure.PageSpeedMiddleware.Invoke(HttpContext context)
at FoxNetSoft.Plugin.Misc.RedirectManager.Infrastructure.Pag
PayPal Express Checkout doesn't show button on product page when enabled.