0

Here is the problem:

at this page: http://www.domain.com/onestepcheckout/ The customer fills out the fields on the onestep checkout page, select their country as "United States" from the drop down menu, which displays a new dropdown list called "County" which contains all of the states in the US.

The customer picks one of the states, chooses their shipping method, selects paypal as the payment method and then clicks "Place order now" button.

Instead of going to the paypal website to complete the payment, the customer is redirected back to http://www.domain.com/checkout/cart/

The checkout works correctly when using other countries which do not have a dropdown for "county" / state.

What can I do to fix this problem?

4
  • Enable debug mode in Magento PayPal configuration. Then check paypal.log in var/log Commented Feb 4, 2017 at 3:38
  • [L_ERRORCODE0] => 10736 [L_SHORTMESSAGE0] => Shipping Address Invalid City State Postal Code [L_LONGMESSAGE0] => A match of the Shipping Address City, State, and Postal Code failed. [L_SEVERITYCODE0] => Error
    – lhuikneton
    Commented Feb 6, 2017 at 9:06
  • It would appear that the county/state and zip code would not validate. I have tried it again using a real US address and I am able to get through to paypal payment gateway.
    – lhuikneton
    Commented Feb 6, 2017 at 9:07
  • Try adding one for these, phptalks.wordpress.com/2012/05/27/… Commented Feb 6, 2017 at 9:18

1 Answer 1

0

It would appear that the state and zip code would not validate.

I have tried it again using a real US address. I am now able to get through to paypal payment gateway.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.