Portal Engine
Version 3.x > Portal Engine > E-comm 'Skip payment' button View modes: 
User avatar
Member
Member
gavin.bates - 1/8/2009 7:48:12 AM
   
E-comm 'Skip payment' button
Hi,

Another E-comm question, is it possible to disable the skip payment button within the e-commerce element of Kentico. The site only uses Paypal as a method of payment so giving users the ability to bypass payment could confuse matters...

Can change the text fine within the CMS.resx file although cannot find the code that re-directs the 'Skip payment' button to 'Ordercomplete'

Although, assume removing it completly would be best as the order would already be processed within Kentico at this step.

Have taken a look within 'ShoppingCartPaymentGateway.ascx.cs but have not come across the answer yet!

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/12/2009 5:38:24 AM
   
RE:E-comm 'Skip payment' button
Hi,

You can disable the button in the file you have mentioned. It is around line 68. you can add there this line:

this.ShoppingCartControl.ButtonBack.Visible = false;

I hope it will help.

Best Regards,
Juraj Ondrus