• Resolved faresmansourwp

    (@faresmansourwp)


    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_ADDRESS

    1) 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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @faresmansourwp

    thank you for reaching out to us, we’re here to help.

    This issue was already identified some time ago and we actually have a fix ready for release in our upcoming version 1.6.0
    I have a package available for testing if you want, but we prefer not to share such packages via open this open forum, so if you want to test the package, please open a service desk ticket with us via: https://paypal.inpsyde.com/docs/request-support/

    I read in our developers’ ticket that they worked on the fix for the postal code, but I did not see them mention to have done the same for the State / Country Field. Currently, I am checking if this fix also included a solution for the state/country field, but I am expecting this was not done. I will get back to you once I have the confirmation on this.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @faresmansourwp

    after having a chat with my team I found out that the state/country field might not be similar to the postal code field because optional in WooCommerce does not mean optional for PayPal. When the billing country provides a state option, and PayPal throws this error, then it’s a mandatory field for PayPal and the only way to fix an error would be to make the field mandatory in WooCommerce

    We are still trying to fix this wording of the errors so that it will not just give the “MISSING_SHIPPING_ADDRESS” error, but this is captured in another development ticket.

    Please reach out to us if you want to get the package (as described above) or wait for the release of the 1.6.0 version of our plugin (expected to be released this month).

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @faresmansourwp

    Yesterday we have released a version of our plugin that contains a fix for the issue you are experiencing. Could you please update the plugin and check if this was resolved?

    Please let us know if it has been resolved so we can close this thread.

    Kind regards,
    Joost

    Thread Starter faresmansourwp

    (@faresmansourwp)

    Hi, I just checked and it still doesn’t work with the United Arab Emirates/Qatar/Jordan, I even tried seeing if I can still do the line of code deletion and as expected the code is different so I won’t touch it.

    Please just let the developers check any address within the UAE. I honestly can’t advertise to that area right now.

    Best regards,
    Fares

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @faresmansourwp

    Thank you for informing us about this. The issue is reproducible in my testing environment and I have sent the case and logs to the developer for further investigation.

    Sorry for again delaying the resolution, we do our best to get a working fix in place for you asap.

    Kind regards,
    Joost

    Facing the same issue. Losing orders because of this. Do you have any alternate way to accept PayPal payments for now?

    • This reply was modified 3 years, 4 months ago by shannon4455.
    • This reply was modified 3 years, 4 months ago by shannon4455.
    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @shannon4455

    there is currently no workaround for our plugin, so you might want to switch temporarily back to the Checkout or standard PayPal plugin until we get this one resolved. If you have other payment options available you could also deactivate our plugin temporarily until we have the next release or a workaround available.

    I just checked with the dev team and the fix will be included in the next release, so at least we got some progress on this case. Hope you can wait a little bit longer.

    Kind regards,
    Joost

    @joostvandevijver , We are facing same issue on our site after moving to this plugin. I have checked logs and found {"field":"/purchase_units/@reference_id=='default'/shipping/address","issue":"MISSING_SHIPPING_ADDRESS","description":"The shipping address is required whenshipping_preference=SET_PROVIDED_ADDRESS."}

    but in shipping address is already in request parameters.

    We are using 1.6.1 version. Please help us, as it creates issue for our valuable cutomers

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @aixspshukla

    This was answered in the message above:

    This issue was already identified some time ago and we actually have a fix ready for release in our upcoming version 1.6.0
    I have a package available for testing if you want, but we prefer not to share such packages via open this open forum, so if you want to test the package, please open a service desk ticket with us via: https://paypal.inpsyde.com/docs/request-support/

    Kind regards,
    Joost

    Hello @joostvandevijver

    I have read that message, but current version is 1.6.1 ahead of 1.6.0, and still site is getting issue.

    I am raising service desk ticket on URL you shared.

    Thanks,

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @aixspshukla,

    yes, you are right, the fix for that release was left out at the last moment and should be added in the next one. However, we do have the package available for testing (temporary solution) once you open the service desk ticket.

    Kind regards,
    Joost

    Thanks @joostvandevijver ,

    I am waiting for next release of the version.

    Same issue here. PayPal Payments plugin version 1.6.1

    Work fine for US customers but customers from Sri Lanka & some other countries got this error

    [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_ADDRESS

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @vinod85

    Apologies for the trouble. This issue will be resolved with our upcoming update:
    https://github.com/woocommerce/woocommerce-paypal-payments/issues/330
    Currently, it only works for countries with optional postcodes when there is no shipping zone set up.
    Here is a version that includes the fix from the next update if you’d like to give it a try:
    https://drive.google.com/uc?export=download&id=15GKu8taZ0m2nlXkOTrNa4IuZEfFznu-I

    Kind regards,
    Joost

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Shipping Address issues to certain countries’ is closed to new replies.