paypalpro: when selecting PayPal for payment method, checkout redirects to OCST page.
Posted by Eric Foresman on 13 August 2012 01:08 PM
Note: this only applies when using paypalpro.mvc (PayPal Express Checkout and/or Payments Pro)
Problem: customers are getting redirected to the OCST page (customer information) when they select PayPal during checkout.
Reason: PayPal has encountered an error during checkout and has returned the customer to the OCST page so that the address can be corrected if it is needed.
Paypal should be displaying an error message on the OCST page when this happens. If there is no error message then it is most likely that the “PaypalErrorMsg” item is not assigned to the page, or is not referenced correctly on the page template code.
Steps to resolve:
1, check the OCST page and ensure that the PaypalErrorMsg item is assigned.
2, check the page template code, make sure that <mvt:item name="PaypalErrorMsg"/> exists on the page.
3, if the error message still does not show up, make sure that the item is referenced in a place that can be seen. (For testing you can place the item just below the <body> tag. This will make the error message appear at the very top of the page)
Once the error message is being displayed it will give you a better idea of why the order errors out.