Authorize.net takes to a blank page at /checkout/complete
Posted: Tue Jan 08, 2013 12:40 pm
I have followed the getting started with Authorize.net guide and then completed the Advanced section. It appears to be working fine it show the products in my View Orders tab in the customer account but when it is processed it takes me to a blank /checkout/complete page Below is what I have added:
Checkout controller has a:
@RequestMapping(value = "/complete", method = RequestMethod.POST)
public String completeSecureCreditCardCheckout(HttpServletRequest request, HttpServletResponse response, Model model,
@ModelAttribute("orderInfoForm") OrderInfoForm orderInfoForm,
@ModelAttribute("shippingInfoForm") ShippingInfoForm shippingForm,
@ModelAttribute("billingInfoForm") BillingInfoForm billingForm,
BindingResult result) throws CheckoutException, PricingException, ServiceException {
prepopulateCheckoutForms(CartState.getCart(), null, shippingForm, billingForm);
return super.completeSecureCreditCardCheckout(request, response, model, billingForm, result);
applicationContext-servlet has:
<bean class="org.broadleafcommerce.common.web.BroadleafThymeleafViewResolver">
<property name="templateEngine" ref="blWebTemplateEngine" />
<property name="order" value="1" />
<property name="cache" value="false" />
<property name="fullPageLayout" value="layout/fullPageLayout" />
<property name="characterEncoding" value="UTF-8" />
<property name="layoutMap">
<map>
<entry key="account/" value="layout/accountLayout" />
<entry key="catalog/" value="NONE" />
<entry key="cstore/" value="catalog/cstore_template" />
<entry key="checkout/" value="layout/checkoutLayout" />
<entry key="checkout/confirmation" value="layout/fullPageNoNavLayout" />
<entry key="checkout/complete" value="layout/checkoutLayoutComplete.html" />
<entry key="layout/" value="NONE" />
</map>
</property>
</bean>
I have created the pages:
layout/checkoutLayoutComplete.html
Also checkout/complete.html
What do you think I am missing?
Checkout controller has a:
@RequestMapping(value = "/complete", method = RequestMethod.POST)
public String completeSecureCreditCardCheckout(HttpServletRequest request, HttpServletResponse response, Model model,
@ModelAttribute("orderInfoForm") OrderInfoForm orderInfoForm,
@ModelAttribute("shippingInfoForm") ShippingInfoForm shippingForm,
@ModelAttribute("billingInfoForm") BillingInfoForm billingForm,
BindingResult result) throws CheckoutException, PricingException, ServiceException {
prepopulateCheckoutForms(CartState.getCart(), null, shippingForm, billingForm);
return super.completeSecureCreditCardCheckout(request, response, model, billingForm, result);
applicationContext-servlet has:
<bean class="org.broadleafcommerce.common.web.BroadleafThymeleafViewResolver">
<property name="templateEngine" ref="blWebTemplateEngine" />
<property name="order" value="1" />
<property name="cache" value="false" />
<property name="fullPageLayout" value="layout/fullPageLayout" />
<property name="characterEncoding" value="UTF-8" />
<property name="layoutMap">
<map>
<entry key="account/" value="layout/accountLayout" />
<entry key="catalog/" value="NONE" />
<entry key="cstore/" value="catalog/cstore_template" />
<entry key="checkout/" value="layout/checkoutLayout" />
<entry key="checkout/confirmation" value="layout/fullPageNoNavLayout" />
<entry key="checkout/complete" value="layout/checkoutLayoutComplete.html" />
<entry key="layout/" value="NONE" />
</map>
</property>
</bean>
I have created the pages:
layout/checkoutLayoutComplete.html
Also checkout/complete.html
What do you think I am missing?