A customer can deactivate express checkout option by clicking the Deactivate Express Checkout button on the “Express Checkout” page. The form below from express_checkout.jsp
can be used to deactivate express checkout by setting the value of B2CProfileFormHandler.value.expressCheckout
to false
.
<dsp:form action="express_checkout.jsp"> <dsp:input bean="B2CProfileFormHandler.updateRepositoryId" beanvalue="B2CProfileFormHandler.repositoryId" type="hidden"/> <dsp:input bean="B2CProfileFormHandler.editValue.expressCheckout" type="hidden" value="false"/> <dsp:input bean="B2CProfileFormHandler.setExpressCheckout" type="submit" value="Deactivate Express Checkout"/> </dsp:form>