Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > bypass payment on ecommerce if zero View modes: 
User avatar
Certified Marketer 13
Certified Marketer 13
bruce.williams-thundertech - 1/23/2013 9:38:04 AM
   
bypass payment on ecommerce if zero
Is there a method or configuration or coding of bypassing payment screen and marking order as paid if total amount <=0?

User avatar
Member
Member
kentico_alleng - 1/24/2013 8:32:38 PM
   
RE:bypass payment on ecommerce if zero
Hello,

The best starting point is to follow the advice in this forum post:

http://devnet.kentico.com/Forums.aspx?forumid=36&threadid=11093

Take a look over both of the examples mentioned there. You'll just need to check the total when the Next button is clicked before the payment step then adjust the step number to skip the payment step.

After that, you can set the order status, using the advice here:

http://devnet.kentico.com/Forums/f45/t18356/How-do-I-programmatically-change-the-order-stat---.aspx

Regards,

Allen