Viewing 8 replies - 1 through 8 (of 8 total)
  • You are not getting charged because of some settings problem. We will have a look into it.

    – Enable debug option in plugin settings page and then place an order from the cart page. You will see a request and response info. Copy them and post here.

    Note : Don’t forget to remove the sensitive data from the request.

    Also please post here the screenshot of plugin settings page.

    • This reply was modified 7 years, 11 months ago by niwf.
    • This reply was modified 7 years, 11 months ago by niwf. Reason: Grammar
    Thread Starter pawelkmpt

    (@pawelkmpt)

    Thanks for quick response!

    Settings screen can be found here: https://i.imgur.com/cyet8cc.png
    Additionally – in Services section only Priority Mail is chosen.

    I’ll provide debugging information later as problem occurs for clients is US and I’m located in Poland.

    Hi Pawelkmpt,

    I have checked your settings. I found nothing wrong.
    However, please make sure some valid services for your source and destination is enabled in the settings (this area is not visible in your screenshot).

    Also, you can make sure the availability of the services by using USPS rate calculator.

    Let me know if the problem persists.

    Thread Starter pawelkmpt

    (@pawelkmpt)

    Thanks for checking settings! I have requests from debugging mode (without sensitive data hopeefully).

    However, please make sure some valid services for your source and destination is enabled in the settings

    Chosen services are valid as shipping price calculation works without any problem when client use other payment gateway. We’ve used many different plugins over the time and PayPal Express is the first one having issues.

    REQUEST
    API=RateV4&XML=<RateV4Request USERID=""><Revision>2</Revision><Package ID=""> <Service>ONLINE</Service> <ZipOrigination>15212</ZipOrigination> <ZipDestination></ZipDestination> <Pounds>3</Pounds> <Ounces>3.20</Ounces> <Container /> <Size>REGULAR</Size> <Width>0.1</Width> <Length>0.1</Length> <Height>0.1</Height> <Girth>0.4</Girth> <Machinable>true</Machinable> <ShipDate>07-Dec-2016</ShipDate></Package></RateV4Request>

    RESPONSE

    <?xml version="1.0" encoding="UTF-8"?>
    <Error><Number>-2147219099</Number><Source>clsRateV4:UnpackRateNode</Source><Description>Missing value for ZipDestination.</Description><HelpFile/><HelpContext/></Error>

    While analyzing your debug data I found that you have not provided the destination zip code. So that the API return no rate.

    Kindly confirm to us after giving the destination. The shipping charge should get added to product charge. If the issue persists, kindly send us the screenshot of the cart page also.

    Thread Starter pawelkmpt

    (@pawelkmpt)

    This I figured out as well. Question is why when client logs in to PayPal and is redirected to the checkout page from cart, zip code is not given to USPS plugin?

    Have you had a chance to test your plugin with PayPal one? Because it might be they’re not compatible with each other or some additional code snippet is needed to make it work.

    From the other side, when client is logged in and have its address saved in the account, shipping fee is provided.

    Woocommerce will allow to proceed to checkout page even if there is no shipping method available.

    Our plugin just fetches the rate from API. We do not set any checks on the cart page/checkout page.

    This link may help you on your issue.

    Thread Starter pawelkmpt

    (@pawelkmpt)

    So issue is in the PayPal Express plugin, USPS is fine: https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/issues/179

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Compatibility with WooCommerce PayPal Express Checkout Gateway’ is closed to new replies.