Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Stripe Signup Error during Vendor Wizard
Tagged: Error, stripe, vendor, Vendor registration, vendor wizard
- This topic has 6 replies, 3 voices, and was last updated 5 years, 2 months ago by WCFM Forum.
- AuthorPosts
- August 24, 2019 at 5:55 am #78097backyarddogcampParticipant
Hi All –
Have WCFM Marketplace installed on my website for multi vendor marketplace. Having trouble configuring Stripe for payout use. I have the Client ID, the Live and Secret keys. Have followed all instructions in the docs. Still there is error.
When new vendor is taken through vendor wizard, under “Payment Setup” there is “Connect with Stripe” Button. When it is clicked this error message appears:
{
“error”: “invalid_redirect_uri”,
“error_description”: “Invalid redirect URI ‘https://charlottesvilleartists.com?store-setup=yes\u0026step=payment’. Ensure this uri exactly matches one of the uris specified in your application settings”,
“state”: “21”
}I have tried multiple URIs to try to solve, including the one listed above in quotes. What is going wrong?
- August 29, 2019 at 12:07 pm #78940WCFM ForumMember
Hi,
You have to redirect URL at Stripe account.
Please go though this for setup details – https://docs.wclovers.com/vendor-payment/
Thank YOu
- September 1, 2019 at 1:48 am #79386backyarddogcampParticipant
Clearly you are not understanding or simply not reading what I wrote because my issue is that the URL/URI redirects I have specified are returning an error message. The error message is pasted in my first
On our Stripe account under Stripe Connect “Integration”,
Redirects Tried:
https://charlottesvilleartists.com?store-setup=yes\u0026step=payment
https://www.charlottesvilleartists.com/wp-admin/index.php?page=store-setup&step=payment
https://charlottesvilleartists.com/vendor-dashboard/settings/All three of the above URIs have also been added to the Stripe Webhooks “Endpoints receiving events from Connect applications” as well, since I saw in another forum that another customer solved their error issue by adding them to that section.
With every one of these attempts, the error message still presents. Why do you think that is? There is no further literature in the link you posted on this issue.
Brian Kimble
Attachments:
You must be logged in to view attached files.- September 2, 2019 at 8:00 am #79558meParticipant
I had the same problem, luckily I found the solution.
This is the exact URL you have to use as a redirects setting in Stripe, it’s the only way it will work:
https://yourdomain.com?store-setup=yes&step=paymentIf you copy-paste the URL from the Stripe error message, it will fail due to that ‘\u0026’ character conversion bug on their side.
If you copy-paste the URL from your actual website, it will also fail due to the trailing slash issue.
https://yourdomain.com/?store-setup=yes&step=payment – stripe doesn’t accept this because of the slash after .com .The main problem is that any instructions for this are completely missing from the wcfm plugin, so this will be broken for every single install by default, and the solution is pretty non-intuitive.
Dear wclovers devs, please help your customers and let them know about this!
Thanks.
- September 2, 2019 at 1:21 pm #79628WCFM ForumMember
HI,
Really sorry for that. We will definitely mentioned this in documentation clearly.
Thank You
- September 5, 2019 at 7:14 pm #80223backyarddogcampParticipant
Thank you @me for this solution, I plugged your recommended link into both the “Webhook Endpoint” and the “Connect Redirect URI” on my Stripe account and now it is working fine.
One note though: when I copy and pasted the link, it autocorrected the “&” into “& amp ;” and for some reason it would not work until I changed it back to “&”. This is probably something that most people know about, but for a n00b like me I didn’t notice it for a while, so just thought I would mention it.
@forum_wclovers please update or add this to the Vendor Registration docs. Thanks.BK
- September 5, 2019 at 8:11 pm #80228WCFM ForumMember
Hi,
Require “redirect urls” are given at WCFM Admin Setting -> Payment Setting – https://ibb.co/HqWkqh3
Thank You
- AuthorPosts
- You must be logged in to reply to this topic.