Home Forums WC Vendors Free Support Using Coupons gives Paypal error

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.Β  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 45 posts - 1 through 45 (of 45 total)
  • Author
    Posts
  • #9307
    Karen Thomas
    Participant

    Hi there,

    I’ve just added a coupon code to take 15% of Basket total price.
    Thankfully I tested it prior to advertising the coupon code!
    The coupon deducted the correct amount but I received this error message in Paypal:
    “This transaction is invalid. Please return to the recipient’s website and try again.”

    Then when I returned to my website I received these error messages:
    Error ID: 580022. Invalid request parameter: amount must be greater than zero
    Error ID: 580022. Invalid request parameter: payKey cannot be null

    The basket total was Β£70.64 (after the 15% coupon applied of -Β£10.35). Everything works wonderfully without applying the coupon.

    I’ve checked the WC Vendor forums and others have had similar message but not relating to coupons. I have checked that my decimal places are set to 2 (advice from someone’s else thread).

    Have you any ideas why applying a percentage discount would affect payment?

    Many thanks,

    Karen x

    #9308
    WC Vendors Support
    Participant

    That’s an interesting one. Does this also happen on admin listed products or just vendor listed products? Most likely Jamie will have to help with this one, the PayPal gateway is not part of my skillset. πŸ˜‰

    #9309
    Karen Thomas
    Participant

    Hi Ben thanks for quick response as always πŸ™‚

    I’ve set myself up as a Vendor to sell my own items so that I can easily test as a Vendor.
    So I’ve only tested on ‘vendors’ products – ie my own.

    I’ve also changed the coupon to be Product % Discount incase it didn’t like Basket % Discount but still getting the same error – boo hoo πŸ™

    Hope Jamie can help as we are running a site wide discount event for Invisible Illness Week that starts on Monday.

    Many thanks,

    Karen

    #9310
    Karen Thomas
    Participant

    Hi Jamie,

    In case u need to take a look at my set up here’s my admin log in details:

    [email protected]
    TedTh0mas-0101Β£

    This is one of my own products so don’t mind you playing:
    http://www.consciouscrafties.com/handmade-gifts/meditation-bench/

    Many thanks for all your help

    Karen

    #9314
    Karen Thomas
    Participant

    Oh my goodness, sorry I typed the email address wrong! So sorry:

    [email protected]

    #9322
    WC Vendors Support
    Participant

    Nope, that’s no good either. πŸ˜‰

    Error: A user could not be found with this email address.

    #9324
    Karen Thomas
    Participant

    The coupon I’m testing is invisible15 by the way πŸ™‚

    #9329
    Karen Thomas
    Participant

    So sorry I’ve just changed your role to Admin. Think I desperately need a holiday!
    Sorry for using up your precious time and being annoying! x

    #9332
    WC Vendors Support
    Participant

    No worries. πŸ™‚

    Confirmed as a bug. Jamie is the PayPal guru, so this one’s added to his list to take care of. You can track the progress of it being fixed at:

    https://github.com/wcvendors/wcvendors/issues/208

    Thanks for your report and sorry this is goofed up right now!

    Ben

    #9333
    Karen Thomas
    Participant

    Thanks Ben and Jamie! πŸ™‚

    #9349
    WC Vendors Support
    Participant

    I have what might be an unusual reply, but in a nutshell, this is a bug, but it’s a bug we don’t care to fix. πŸ™‚ Please allow me to explain. The PayPal Adaptive Payment gateway checks for commissions in a different way that coupons breaks because of how it looks at the line items total prices. We’d have to recode WC Vendors Free commission system to accommodate this.

    In WC Vendors Pro, however, we already have the commission system in place and our own coupon system tied in with it, so we’ll leave it at that. The solution is: Buy Pro on October 1st. πŸ™‚ Since I have a good feeling you are anyway, it doesnt make me feel like we’re leaving you high and dry on this one. πŸ˜‰

    Ben

    #9350
    Karen Thomas
    Participant

    Te he thank you! Yes definitely don’t waste your precious skills fixing that!
    I’m now even more excited about Pro!!!! ??
    It’s going to kill me as I’m away on Oct 1st so won’t be able to upgrade to Pro for 2 whole days!!
    Really hope come 1st Oct u guys become v rich for all your incredible support!
    Cheers Ben u rock! X
    Ps has your wife given birth yet?

    #9351
    WC Vendors Support
    Participant

    Thanks. πŸ™‚ My wife, Vanessa, is 12 days till her due date. Which of course, means *any* day now for our son. His name will be Benson, because it’s easy for me, Ben, to remember. πŸ˜‰

    Don’t worry, the hospital has WiFi so I’ll still be on top of support. πŸ™‚ πŸ™‚

    #32230
    P017
    Participant

    I am posting to this thread because I am seeing the Paypal error β€œThis transaction is invalid. Please return to the recipient’s website and try again.” when a vendor uses any kind of coupon code (product or cart percentage or amount discount)
    I have the Buddyboss One Social theme, their latest version of the Marketplace plugin, WC Vendor 1.8.9 and Pro 1.3.1
    All my vendors are set at 100% commission because I bill them monthly. I have Paypal Adaptive set up.
    The coupons calculate correctly and take the amount or percentage off correctly but when the buyer actually places the order and waits to be transferred to the Paypal page, they instead see the error code. Any pointers to what I should be looking to fix is greatly appreciated.
    Thanks,
    Priya

    #32234
    WC Vendors Support
    Participant

    @OUATT — If you can give me a specific set of rules to test and replicate, we can see if it’s a bug. Usually, a paypal transaction invalid means there’s a problem with your PayPal AP configuration, or with your PayPal account, or with the vendors PayPal account and isnt related to WC Vendors at all. Usually, that is….

    #32244
    P017
    Participant

    Hi Ben, as always, thank you for your prompt response! As i was taking the necessary screenshots to post here, the coupons that I’ve created and tried so far, cart %, product % are all mysteriously working. I did update the Marketplace plugin (Buddyboss) last night (and I think that makes it compatible with 1.3.1) and I am wondering if there was a problem before and now, it has gone away. I am going to try every different combination I can and see if I can replicate the error. I am not sure if it was a temporary Paypal glitch. I am attaching some screenshots with the basic settings, just so that if anything jumps out that I shouldn’t have it set that way, please let me know.
    I also just want to add that I really appreciate the support here at WC Vendors – as I get firsthand experience of providing customer service at my marketplace :), I just want to say thank you for always taking the time to respond and in such an effective and prompt manner. Have a great weekend!
    Priya

    #32259
    WC Vendors Support
    Participant

    Thanks Priya, as a marketplace admin you know how important support is, and we understand it too! We’ll always be as fast and prompt as possible.

    https://www.wcvendors.com/members/ouatt/media/1153/ — 20, not 20% is the correct syntax, although we strip out any non-numerical characters anyways, perhaps the old third party marketplace plugin was doing something different, no idea. πŸ™‚ Beyond that, all your settings look correct!

    #34855
    P017
    Participant

    I have a coupons issue where the following is occurring – (please see screenshots)
    When a vendor creates a coupon, the system is assigning the coupon code as the store name (screenshots 1 and 2) and when a buyer uses that coupon code, they get an “Invalid Transaction, please return to merchant” message when they transfer out of checkout and into Paypal.

    I had an earlier coupon from May and that works fine and as you can see from screenshot 3, the coupon code is summer14 and the store name is assigned correctly. These transactions go through correctly.

    How/where can I fix this? Any ideas as to why its not assigning/recognizing the store name correctly? As it then doesn’t recognize who to send the payment to, Paypal doesn’t go through.
    I have the coupons set to process After and the commission is 100%. I tried creating a coupon as admin and have the same issue where it doesn’t recognize the user/store that it’s created by.
    Please help as everyone wants to use coupons, and right away!

    #34868
    Karen Thomas
    Participant

    Hi @OUATT, I had this happen to me too in wp-admin, where Vender Name became the coupon code.

    (Ben, this happened the night before our Big Birthday 10% Off Weekend when you saved me!)

    I had lots of different Vendors who added the same coupon code. Priya, are there any duplicate coupon codes as WooCommerce doesn’t like that (Jamie is looking to put a fix in for that).

    I’m not sure if the duplication of the same coupon code was why it happened in my case, but thought I’d pipe up just in case it helped you!

    Karen πŸ™‚

    #34875
    P017
    Participant

    Hi Karen @Conscious-Crafties thank you for sharing that! I don’t have duplicate coupons as my vendors are only now starting to use coupons and we just have a few. I did notice that all coupons that are created now only show the coupon code as the Vendor Store and not the name of the store. So the code and store names are the same and then Paypal doesn’t know who to send the money to (at least that’s what I think is happening). Also wondering, as you are seeing this too, if its anything to do with One Social theme? I don’t know if that plays any part in this. Hoping to hear from @Ben or Jamie!

    #34947
    WC Vendors Support
    Participant

    It’s nothing to do with the OneSocial theme at all, this one is all WC Vendors. In v1.3.2 of Pro, due out in a few days, vendors cant add coupons that are identical to the name of a coupon that already exists. Why we didnt do that to begin with was an oversight on our part, it never crossed our mind when developing the coupon system. “Oops”. Sometimes we all have brain farts, this one was certainly ours. πŸ™‚

    #34950
    P017
    Participant

    @Ben, what if there are no duplicate coupons and the system assigns the coupon code as store/vendor name? My tech person went into the control panel and changed the coupon assignation to the right store/vendor id but in Woocommerce at the wp admin backend, it sill shows the coupon code as vendor/store name. For example if I create a coupon called test, it then says the store id the created the coupon is test and Paypal doesn’t go through. Any clues on what that’s due to? Thanks!

    #34952
    WC Vendors Support
    Participant

    The vendor probably didnt add a coupon name, so it defaulted to their store name. Install the plugin “User Switching”. Then wp-admin > users > vendors > hover over the vendors account, click “Switch To”. From there, you can go to the vendors Pro Dashboard and check their coupon settings out. You’ll find User Switching quite handy. πŸ™‚ When you’re done as the vendor, scroll to the bottom of any page, and on the lower left, click “Switch back to <your admin account name>”. And like magic, now you’re back as the admin again.

    #34958
    P017
    Participant

    I actually did that using the User Switching plugin and no matter who (admin, vendor) creates the coupon – and they are all named appropriately and there is no duplication- the store name is the same as the coupon code. (screenshot attached)

    #34960
    WC Vendors Support
    Participant

    That’s weird. Are you overriding any templates as seen at the bottom of wp-admin > WooCOmmerce > System Status? There’s a WC Vendors Pro section at the bottom.

    #34963
    P017
    Participant

    No, the settings seem to be fine (screenshot attached). If I can try to connect some dots (and I don’t know if I am drawing the right conclusions) – I got a repeated ‘BP user not initiated correctly’ error in my debug log which maybe becoz of the One Social theme? I wrote to them and they said I could ignore it but just wondering if that’s at all tied to this coupon not being attributed to the right store…

    #34965
    WC Vendors Support
    Participant

    That buddypress warning is no worry. Most BP sites get that, it’s completely safe to totally ignore.

    Can you register a new vendor account on dev.wcvendors.com and try to replicate the issue? That’ll help us determine if it’s us or you. πŸ™‚

    #34972
    P017
    Participant

    I just registered at the dev side and added a test product + added coupon and did a test transaction if you’d like to check.
    Thanks!

    #34973
    WC Vendors Support
    Participant

    Well, you did the test, so what happened? Success or failure? πŸ™‚

    #34975
    P017
    Participant

    It went through, so not WC Vendors. Any idea as to who/what? Thanks!

    #34977
    WC Vendors Support
    Participant

    The dev site uses WC Vendors Free v1.9.0, Pro v1.3.1, and WooCommerce v2.6.1, with WordPress current version. Make sure yours does, too. If they already do, it’s probably another plugin or a theme causing an issue, or user error on the vendors side.

    #34978
    P017
    Participant

    I haven’t updated to 2.6 Woo (still 2.5.5). I will check, thanks much @Ben!

    #34980
    WC Vendors Support
    Participant

    Woo 2.5.5 should also be fine, we only recently updated to 2.6.0. No code changes necessary for that. Consider v2.5.5 also equally as good. πŸ™‚ Upgrading WooCommerce now should make no impact on the issue.

    #34982
    P017
    Participant

    Okay, so that leaves me with the other plugins and theme :). I have written to BuddyBoss and will see what they say. Just one question- the commission is set to 100% in my marketplace- can that break anything? Thanks!

    #35283
    WC Vendors Support
    Participant

    A 100 for commission will not break anything, other than the admins wallet, because then you get 0. πŸ™‚ Other than that, wont break anything! Lots of marketplaces do this no issues.

    #37097
    Obsi Dian
    Participant

    I’m having the same issue with coupon names being used as the vendor name – We had no coupons on the site yet except for the 3 I just created. I tried 2 created by my vendor store and 1 created by my admin – all 3 had the coupon name as store name. I disabled every pluign except WCVendors and WooCommerce, and it still did it.

    Also….

    So the vendors can create a $off or %off discount on products – but not on a whole order? (Any chance of getting a $off the order total anytime in the future?)

    and Admin can create a cart discount, but not set to a specific vendor? – So what happens with the cart discount? Does that come out of Admin’s cut of the commission? (what happens if admin doesn’t get any commission?)

    #37144
    WC Vendors Support
    Participant

    Vendors cant create coupons to discount an entire order, because vendors dont guarantee that only that vendors products are in the order. If there were, the other vendors items would be discounted too, probably pissing off the other vendor during that process. πŸ™‚

    Admin coupons come off of the admins cut of the coupon.

    #37207
    Obsi Dian
    Participant

    Sorry, I didn’t mean off the whole order site-wide, because yes, obviously having VendorA’s discount applying to VendorB would be bad πŸ˜€ I mean off the order total for the vendor who created the coupon (rather than by product). Is it the same situation as with shipping – that the system can’t see a certain grouping of products as being one vendor’s order?

    #39958
    Obsi Dian
    Participant

    Is there any update on the issue with the coupons being labelled as the coupon name rather than the vendor name?

    #48044
    Craig Hanson
    Participant

    Hi @ben

    I am recieving the same error detailed above by Karen @Conscious Crafties

    Error ID: 580022. Invalid request parameter: amount must be greater than zero
    Error ID: 580022. Invalid request parameter: payKey cannot be null

    And then discovered this thread so this has been very helpful to find out that I can not use the “woocommerce” generated coupons.

    I use the WC Vendor Pro plugin (love it) and also use the WooCommerce Follow-ups plugin to send automated follow emails abd then started to use the follow-ups plugin to generate automatic coupon codes but those codes generated must be “WooCommerce coupon codes” because they produce that error when trying to transact through PayPal.

    I was using the follow-up plugin to auto-generate a coupon code when the customer purchased a listing we have as a “site wide gift certificate”. This was a very slick way to generate a one time unique code automatically for a specific discount ($20 gift certificate for example).

    But as I discovered this only works for generating “woocommerce coupon codes” not “WC Vendor coupon codes”.

    Questions:
    1. Any thoughts on how we can auto-generate a coupon code “site wide” (that can be applied to all vendors – yes I realize this requires an additional admin process to reconcile that coupon code process).
    2. Any thoughts on how we can auto-generate a coupon code “per vendor” so that a vendor can create a “gift certificate” type listing and then that would automatically generate a “WC Vendor coupon code”?.

    Thank
    Craig

    #48093
    Anna
    Member

    Craig,
    I do not know the answers to your two questions- this is a stumbling block I think for marketplaces that wish to administer a site-wide discount or coupon of any type. With the structure of the plugin, and then following communication with the gateway/payment processor, site wide/admin coupons or discounts are not processed correctly and not working as intended.

    I will submit a feature request to see if we could work on a coupon or gift certificate” ΓΆpt-in” , generation or other type of option in the future, so that marketplaces could have the ability to offer a site-wide discount of some type. Certainly gift certificates are a widely used feature on shopping sites, as well as a temporary site wide discount.

    #48312
    Garry
    Participant

    Anna , Craig hello:

    Just to add my 2 cents… I use the plugin WooCommerce Extended Coupon https://wordpress.org/plugins/woocommerce-auto-added-coupons/
    to create site-wide automatic coupons (applied to ALL Vendors)

    The discounted price is applied correctly in the User invoice, Woo Admin data, but NOT in Vendor data. The Vendor does not see the coupon applied price. The User and Admin do.

    Garry

    #48317
    Craig Hanson
    Participant

    @gsh2000
    Garry this looks like a great solution! Thanks for adding your comments.

    I also see that the pro version of WooCommerce Extended Coupon allows for single use coupons which is an important aspect to my promotions.

    Garry – Do you have a work-around for notifying the Vendor when a coupon is used so that they are not wondering why their payment does not match their shop order?

    I’m looking to create a listing for a “gift certificate” that is site wide an can be applied to any shop that a customer can purchase and then the successful sale of the product triggers an email with the automated coupon code to them. This would be restricted to a 1 time use coupon for the amount of the Gift Certificate product that they purchased.

    #48318
    Craig Hanson
    Participant

    @gsh2000
    Gary here are the screenshots from the WooCommerce Follow-ups plugin that I use which has a great feature for sending auto generated coupon codes triggered from a purchase of a specified product.

    BUT as stated in my earlier post these are “woocommerce” codes not WC Vendor codes that cause that paypal error.

    Do you think the WooCommerce Extended Coupon has this kind of functionality?
    I sent the developers of that plugin a message of the same question.

    #48341
    Garry
    Participant

    Do you have a work-around for notifying the Vendor when a coupon is used so that they are not wondering why their payment does not match their shop order?


    @thrivinglocally
    hello:

    No, this is the problem I am having. Vendor does not see the coupon-applied price. Only the customer and store admin see this data on the invoice and order, and email. My customer and admin receive confirmation emails showing the coupon applied, but vendor email shows full price, no coupon. Have yet to solve this problem, which explains why I am following this forum….

Viewing 45 posts - 1 through 45 (of 45 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.