• Resolved pipelist.com

    (@pipelistcom)


    I found this post during a google search of error code 10413.
    My website is pipelist.com and I use the woocommerce plugin.
    I want to use a coupon to give my clients a discount off a few items, but after entering the coupon code and going to paypal to make the payment, the 10413 error pops up.
    my items are adding up correctly in the checkout page, before and after the coupon is added. If i make a coupon for free shipping and apply it at checkout there is not problem. theres only an issue when its the coupons are applied to the cart or to a product.
    where can the error be and is there any fix this? Thank you!

    https://wordpress.org/plugins/paypal-for-woocommerce/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor angelleye

    (@angelleye)

    Are you using a regular coupon code in WooCommerce or are you using something like the bulk item discount plugin?

    If it’s the regular coupon code can you let me know exactly how to reproduce the problem? I think I’ve gotten this stuff fixed in my dev repo, but I’d like more samples to try and reproduce the problem to confirm it’s indeed fixed.

    If you could tell me the price of the item(s) you’re adding to the cart and the type of discount you’re applying that would be a big help.

    Thread Starter pipelist.com

    (@pipelistcom)

    It is a regular coupon code. No plugin.
    To replicate my error, go to my site, pipelist.com, go to tobaccos, click on any tobacco product (just not the sampler pack), then add a 2 oz bag to your cart, click on view cart, then enter coupon code free2oz and click apply. Finally, go to checkout and enter a few pieces of info and then hit place order. this will redirect you to paypal, but this is where the issue is, it will just redirect you back to the cart and the error code will pop up. I personally dont get the 10413 error when I do this, i just get an error message on the screen, but a customer of mine emailed me and told me that he got the 10413 error message. Im assuming that my error message is related to his 10413 error.
    Thanks let me know what you find!

    Thread Starter pipelist.com

    (@pipelistcom)

    @angelleye any luck recreating the scenario?

    Plugin Contributor angelleye

    (@angelleye)

    @pipelist.com

    I see what’s going on here. When I followed your procedure I wind up with the subtotal being $0, but then all I have to pay for is shipping.

    The only way to utilize discounts with the PayPal API (when including linte item details) is to include the discount amount as an additional line item with a negative amount. In this case, it results is a $0 ITEMAMT getting sent to PayPal in the API request, which their system will not accept. There’s nothing I can do about that directly. Instead, we simply have to find a way to send some sort of an amount with ITEMAMT in the request, or leave out the order items altogether.

    With your scenario, that’s probably the best option (to just leave the order items out) but then, of course, those item details won’t show up in the PayPal transaction details. The WooCommerce order ID will show up in the transaction details, though, so you could always refer back to your WooCommerce orders to see what was on the order if need be.

    As it stands right now, I don’t have an option to disable line-items in the plugin, but this is one example where this option is necessary. You’re the first to bring it up, though, so it’s not something I’ve gotten done yet.

    I have added this to my list of updates for the 1.1.6 release. It will probably be another 2 or 3 weeks before this is done, though.

    If you want to get a head start on it I could make some custom adjustments on your system, but I’d need you to buy an hour of premium support to get that done for you.

    I’m going to go a head and close this ticket for now, but you can go ahead and place that order for premium support if you want and we can get you taken care of pretty quickly. Otherwise, just look out for the 1.1.6 release and that will include this update.

    Sorry I don’t have better immediate news for you.

    Thread Starter pipelist.com

    (@pipelistcom)

    @angelleye
    I’m not a web developer by any means… So I didn’t really get what you were telling me to do or to leave out. Sorry about that.
    If I buy the premium support can you get this working as I desire? Or do I need to wait until the update for PayPal to allow me to place an order for a free item? Where can I get the premium support?

    Plugin Contributor angelleye

    (@angelleye)

    Yes, if you buy an hour of premium support I can go in and make the adjustment directly on your site so that it will simply leave the item details out of the request. That would solve this problem.

    Then when the 1.1.6 update is released you would just need to make sure the settings were set to leave the items out (which will be a new option) and you’ll be right back to where you want to be on the new version.

    Thread Starter pipelist.com

    (@pipelistcom)

    Where can I get the premium service? Can I specificly request you?

    Plugin Contributor angelleye

    (@angelleye)

    You can use this link to purchase the premium support.

    It will be me doing this for you. This whole thing is pretty much me, which is why the development has slowed a little bit since I first released it.

    Premium support requests are my top priority, though, so I’ll get you taken care of pretty quickly.

    Thread Starter pipelist.com

    (@pipelistcom)

    The link is just directing me to the forums homepage.

    Plugin Contributor angelleye

    (@angelleye)

    Whoops. Use this one.

    Thread Starter pipelist.com

    (@pipelistcom)

    ok, service ordered. how long do you think before the issue is resolved?

    Plugin Contributor angelleye

    (@angelleye)

    @pipelist.com, I sent you an email response to your order requesting the details I need. I should be able to get this done for you tonight.

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

The topic ‘error 10413 appears when using coupons’ is closed to new replies.