• Resolved daveyk182

    (@daveyk182)


    Hi!

    I’m getting this error on the checkout page:

    Request response: WP_Error Object ( [errors] => Array ( [postmate_error] => Array ( [0] => Empty body response. ) ) [error_data] => Array ( ) )

    Any ideas on what’s going on. I tried switching themes and disabling other plugins.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Agli Pan?i

    (@aglipanci)

    Hi there!
    Are you trying this with production or testing keys?

    I am pretty sure this is related with your account being suspended or something similar.

    Can you contact with Postmates support and if the issue persist just let me know so I will see what I can do.

    Thread Starter daveyk182

    (@daveyk182)

    Thanks for the quick response, I’ll check with them

    Thread Starter daveyk182

    (@daveyk182)

    I’m using the production keys. I’m able to create test deliveries and live deliveries in the Postmates dashboard, so I believe the account is active.

    Plugin Author Agli Pan?i

    (@aglipanci)

    When do you see the error? During quote or delivery creation?

    Can you please share the log file? WooCommerce > Status > Logs (and select postmates files)

    Thread Starter daveyk182

    (@daveyk182)

    It’s during the quote on the checkout page, before a shipping option is selected.

    Here is the postmates error in Woocommerce logs, this just repeats:

    05-04-2020 @ 18:06:41 – Requesting quote. Pickup address: 5 Deepwater Ct Unit C, Cockeysville,MD 21030. Dropoff address: 6312 Hampton Place, Elkridge, MD 21042
    05-04-2020 @ 18:06:41 – Request response: WP_Error Object
    (
    [errors] => Array
    (
    [postmate_error] => Array
    (
    [0] => Empty body response.
    )

    )

    [error_data] => Array
    (
    )

    )

    05-04-2020 @ 18:06:44 – Requesting quote. Pickup address: 5 Deepwater Ct Unit C, Cockeysville,MD 21030. Dropoff address: 6312 Hampton Place, Elkridge, MD 21042
    05-04-2020 @ 18:06:44 – Request response: WP_Error Object
    (
    [errors] => Array
    (
    [postmate_error] => Array
    (
    [0] => Empty body response.
    )

    )

    [error_data] => Array
    (
    )

    )

    Plugin Author Agli Pan?i

    (@aglipanci)

    Did you tried to create a delivery from the dashboard with the same origin and destination addresses?

    It may be due to a cross zone delivery attempt (which if I remember correctly is not allowed by Postmates)

    If that doesn’t work I may need you to privately share the keys with me so I can test locally and figure out the issue.

    Plugin Author Agli Pan?i

    (@aglipanci)

    Hey @daveyk182,
    I tried with the addresses from your log file and I get this error specifically:

    The specified location is not in a deliverable area.

    I am not sure why you are not getting this particular message but anyway this seems to be the issue.

    Thread Starter daveyk182

    (@daveyk182)

    Thanks Agli, that would be great. Can I email you?

    Plugin Author Agli Pan?i

    (@aglipanci)

    If you still want me to do a test, I can give it a try tomorrow. My email is my name [dot] surname [at] gmail [dot] com

    Thread Starter daveyk182

    (@daveyk182)

    I tried with two Baltimore, MD addresses and I’m running into the same error

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WP_Error Object’ is closed to new replies.