• Resolved Verity Cantare

    (@veritycantare)


    Thank you for such a useful plugin! I’m using Gutenberg and the basic WooCommerce theme. I have put proper stats for my product in it’s product information.

    I have a new store and had almost finished setting it up and then…

    I know you’ve just released the REST API connection, but I’m finding it incredibly confusing and there’s no documentation on how it is supposed to work or what all the options under Sub Type and Shape mean.

    When I select ‘flat rate’ and ‘box’ only the medium and bigger boxes show up in the checkout, even though my size A2 card will easily fit into a small flat rate box. I would also like to not offer the bigger boxes, as there is no need for them and this will just confuse my customers. And why am I required to enter dimensions for these flat rate packages?

    I have tried multiple configurations for Ground Advantage and it never shows as an option in the checkout. I feel like I’m probably using incompatible subtypes, but except for Flat Rate, I don’t know which are compatible or not, since they are ALL showing up. I’ve even tried selecting a lot of the options at once and it still doesn’t show up.

    This looks like it could be very useful if there was more explanation about how to correctly configure it and if I could make it show my customers only shipping options that are applicable.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support kozyraola

    (@kozyraola)

    Hi @veritycantare

    Thank you for your feedback.

    To address the issue, we’ll need to have a closer look at API request and response.
    Please enable Debug Mode for USPS general settings: Debug Mode.

    Once it’s done, please go to cart, request and response messages should be visible there.
    Please copy data from both and get back to me with it.

    Thank you!
    Best regards,
    Ola

    Thread Starter Verity Cantare

    (@veritycantare)

    Thank you for your response!

    I activated the REST API and checked debugging mode on. The API connection says OK.

    I have set up a shipping method using Ground Advantage, sub-type: None, shape: Large Envelope/Flats, delivery type: None. I have entered the stats of the rigid envelope I will use for this method: 11.8 x 9.3 x .5 (inches) and its weight. I activated the free shipping option with a 50 threshold and used Flexible Shipping to add $2 to this shipping option to pay for materials and handling.

    My A2 card stats are 5.8 x 4.7 x .063 (inches)

    I’m signed into my website with my admin account. I’ve put my item in the cart, entered an address that has been verified and the only thing I see is ‘There are no shipping options available. Please check your shipping address.’

    If I advance to checkout, there is a notice at the top that says ‘USPS Live Rates: No rates added from standard service rates!’ and down in the shipping selection area it says ‘There are no shipping options available. Please check your shipping address.’

    I don’t see any sort of request or response messages besides the ones I noted above.

    I have a separate shipping method set up for Flat Rate. Priority Mail, Flat Rate, Box, None. I measured the small flat rate box and entered 8.7 x 5.5 x 1.8. This one also has the 50 free shipping threshold. When I turn on this method, only medium and larger boxes show up in both cart and checkout.

    Thread Starter Verity Cantare

    (@veritycantare)

    I moved hosting today and now there are a lot of notifications. I have to finish setting it up so I will paste them tomorrow.

    Thread Starter Verity Cantare

    (@veritycantare)

    Request:

    Array
    (
    [originZIPCode] => 75402
    [weight] => 0.0237
    [length] => 11.8
    [width] => 9.3
    [height] => 0.5
    [mailClass] => ALL
    [priceType] => RETAIL
    [destinationZIPCode] => 77024-2006
    )

    The response is VERY long (almost 200 pages in google docs). Here is a share link to the doc instead of trying to paste it here.

    https://docs.google.com/document/d/1tus9slTVWC-32QrjfNZa21qxq4P0Wt0QBKI4eDy6N7I/edit?usp=sharing

    Plugin Support kozyraola

    (@kozyraola)

    Hi,

    Thank you for additional information.
    We’ll review and get back to you!

    Best regards,
    OIa

    Plugin Support kozyraola

    (@kozyraola)

    Hi @veritycantare,

    Thank you again for all the information.
    It appears the issue here is the shape selected for the Ground Advantage service.
    The one chosen is not available for Ground Advantage.

    When the shape is changed to: (P) Parcel or Package, you should be able to see this rate.
    Please let me know if it worked!

    Best regards,
    Ola

    Thread Starter Verity Cantare

    (@veritycantare)

    Thanks for the help!

    I was able to get Ground Advantage to show by selecting the Parcel/Package shape.

    I was able to get the Small Flat Rate Box to show by making the mandatory dimensions inside the shipping method setup smaller than the actual box.

    It would be wonderful to have some documentation that would show which sub settings go with each Type to facilitate setting this all up. Since I’m still learning about shipping, it would be an even bigger bonus to include a brief description of what all of these services are! I’ve tried searching for information on a lot of them and it all seems very difficult to find or understand.

    It would reduce customer confusion if I could specify what service I want to offer when there are a group of them called. Like offering only the Small Flat Rate Box instead of the entire range of them.

    Again, thank you very much for the time you’ve spent helping me!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘REST API integration documentation’ is closed to new replies.