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.
Thank you to all of our customers!
- This topic has 44 replies, 7 voices, and was last updated 7 years ago by
Garry.
-
AuthorPosts
-
September 26, 2015 at 4:29 pm #9307
Karen Thomas
ParticipantHi 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 nullThe 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
September 26, 2015 at 4:36 pm #9308WC Vendors Support
ParticipantThat’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. π
September 26, 2015 at 4:44 pm #9309Karen Thomas
ParticipantHi 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
September 26, 2015 at 5:19 pm #9310Karen Thomas
ParticipantHi Jamie,
In case u need to take a look at my set up here’s my admin log in details:
karen.clegg@gmail.com
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
September 26, 2015 at 7:21 pm #9314Karen Thomas
ParticipantOh my goodness, sorry I typed the email address wrong! So sorry:
September 27, 2015 at 2:58 pm #9322WC Vendors Support
ParticipantNope, that’s no good either. π
Error: A user could not be found with this email address.
September 27, 2015 at 4:22 pm #9324Karen Thomas
ParticipantThe coupon I’m testing is invisible15 by the way π
September 27, 2015 at 5:19 pm #9329Karen Thomas
ParticipantSo 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! xSeptember 27, 2015 at 6:59 pm #9332WC Vendors Support
ParticipantNo 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
September 27, 2015 at 7:06 pm #9333Karen Thomas
ParticipantThanks Ben and Jamie! π
September 28, 2015 at 6:49 pm #9349WC Vendors Support
ParticipantI 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
September 28, 2015 at 7:36 pm #9350Karen Thomas
ParticipantTe 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?September 28, 2015 at 7:49 pm #9351WC Vendors Support
ParticipantThanks. π 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. π π
May 13, 2016 at 1:37 pm #32230P017
ParticipantI 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,
PriyaMay 13, 2016 at 2:41 pm #32234WC 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….
May 13, 2016 at 4:08 pm #32244P017
ParticipantHi 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!
PriyaMay 13, 2016 at 9:32 pm #32259WC Vendors Support
ParticipantThanks 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!
June 15, 2016 at 8:15 pm #34855P017
ParticipantI 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!June 15, 2016 at 11:21 pm #34868Karen Thomas
ParticipantHi @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 π
June 16, 2016 at 1:51 am #34875P017
ParticipantHi 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!
June 16, 2016 at 7:51 pm #34947WC Vendors Support
ParticipantIt’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. π
June 16, 2016 at 7:58 pm #34950P017
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!
June 16, 2016 at 8:00 pm #34952WC Vendors Support
ParticipantThe 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.
June 16, 2016 at 8:09 pm #34958P017
ParticipantI 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)
June 16, 2016 at 8:13 pm #34960WC Vendors Support
ParticipantThat’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.
June 16, 2016 at 8:38 pm #34963P017
ParticipantNo, 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…
June 16, 2016 at 8:41 pm #34965WC Vendors Support
ParticipantThat 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. π
June 16, 2016 at 8:55 pm #34972P017
ParticipantI 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!June 16, 2016 at 9:02 pm #34973WC Vendors Support
ParticipantWell, you did the test, so what happened? Success or failure? π
June 16, 2016 at 9:06 pm #34975P017
ParticipantIt went through, so not WC Vendors. Any idea as to who/what? Thanks!
June 16, 2016 at 9:08 pm #34977WC Vendors Support
ParticipantThe 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.
June 16, 2016 at 9:10 pm #34978P017
ParticipantI haven’t updated to 2.6 Woo (still 2.5.5). I will check, thanks much @Ben!
June 16, 2016 at 9:15 pm #34980WC Vendors Support
ParticipantWoo 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.
June 16, 2016 at 9:34 pm #34982P017
ParticipantOkay, 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!
June 21, 2016 at 3:08 pm #35283WC Vendors Support
ParticipantA
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.July 14, 2016 at 7:41 am #37097Obsi Dian
ParticipantI’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?)
July 14, 2016 at 2:09 pm #37144WC Vendors Support
ParticipantVendors 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.
July 14, 2016 at 6:25 pm #37207Obsi Dian
ParticipantSorry, 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?
August 13, 2016 at 12:09 pm #39958Obsi Dian
ParticipantIs there any update on the issue with the coupons being labelled as the coupon name rather than the vendor name?
November 19, 2016 at 1:51 pm #48044Craig Hanson
ParticipantHi @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 nullAnd 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
CraigNovember 20, 2016 at 10:28 am #48093Anna
MemberCraig,
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.
November 22, 2016 at 9:10 pm #48312Garry
ParticipantAnna , 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
November 22, 2016 at 9:54 pm #48317Craig 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.
November 22, 2016 at 10:00 pm #48318Craig 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.November 23, 2016 at 9:57 am #48341Garry
ParticipantDo 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….
-
AuthorPosts
- The forum ‘WC Vendors Free Support’ is closed to new topics and replies.