Shipping Address issues to certain countries
-
I am facing two issues with this plugin specifically while dealing with orders from The United Arab Emirates.
Both issues give this error:
WARNING Failed to create order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-MISSING_SHIPPING_ADDRESS1) I read on the forums that it was due to countries that don’t have zip codes and this will be addressed with the upcoming update, hopefully soon, and a workaround was to delete line 161 in the /modules/ppcp-api-client/src/Factory/class-purchaseunitfactory.php
which did the trick and the issue was resolved.2) I was still getting this error in some orders and decided to do some tests. If I leave the State / County field empty (which is an optional field) I still receive the same error, but it’s an optional field and the customers don’t know about this issue and cancel the order without trying.
I hope these get addressed in the upcoming update, or if there is a workaround right now I would appreciate the help
- The topic ‘Shipping Address issues to certain countries’ is closed to new replies.