I have installed the demo webshop and I am adapting it for my own test shop...
The only payment method available I want is credit card so I went to delete "Account" from the payment methods
It threw an error, I clicked away too soon to copy and paste it, but I checked the umbraco log and this was in there.
At /umbraco/plugins/teacommerce/settings/orders/EditPaymentMethod.aspx?id=2 (Referred by: http://localhost:8032/umbraco/plugins/teacommerce/settings/orders/EditPaymentMethod.aspx?id=2): System.NullReferenceException: Object reference not set to an instance of an object.
at TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Settings.Orders.EditPaymentMethod.SaveButton_Clicked(Object sender, ImageClickEventArgs e)
at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)
at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Now all the xslt files are throwing an error
System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (11,48). ---> System.IO.FileNotFoundException: Could not find file 'c:\windows\system32\inetsrv\cartStepProgress.xslt'. File name: 'c:\windows\system32\inetsrv\cartStepProgress.xslt' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at ...................
It is likely the payment method was still assigned to one of the countries! Bit of an explosion there though so not sure what happened!
Thanks for reporting the issue. Although your problem went away I have been testing it my self. Unfortunately I could not replicate the problem. Mine removes the payment method from all countries that use it as default payment method and I get no errors.
You might have hit a weird corner case, so please write with more information later if you hit it again. Something must have went wrong in your Tea Commerce cache.
Possible bug. Deleting payment methods
Hi!
I have installed the demo webshop and I am adapting it for my own test shop...
The only payment method available I want is credit card so I went to delete "Account" from the payment methods
It threw an error, I clicked away too soon to copy and paste it, but I checked the umbraco log and this was in there.
Now all the xslt files are throwing an error
System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (11,48). ---> System.IO.FileNotFoundException: Could not find file 'c:\windows\system32\inetsrv\cartStepProgress.xslt'. File name: 'c:\windows\system32\inetsrv\cartStepProgress.xslt' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at ...................
It is likely the payment method was still assigned to one of the countries!
Bit of an explosion there though so not sure what happened!
Bex
UPDATE:
Restarted website and all appears to be working again.. very very odd.. possible caching issue?
Hi Bex,
Thanks for reporting the issue. Although your problem went away I have been testing it my self. Unfortunately I could not replicate the problem. Mine removes the payment method from all countries that use it as default payment method and I get no errors.
You might have hit a weird corner case, so please write with more information later if you hit it again. Something must have went wrong in your Tea Commerce cache.
/Rune
I will try and recreate it again later so I can give you some more details..!
@Bex - any more info about the problem?
If not - could you please mark this ticket as solved and just create a new one if it happens for you again.
Hi Anders!
Sorry no I have not had a chance to try again!
There's definitely a bug or something there some where though.
I will mark this as resolved and open another post if I can make it do it again when I get a chance to test it!
Bex
Super - we are ready when you are :)
is working on a reply...