-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe Connect and Multi-Shop Checkout #2682
Stripe Connect and Multi-Shop Checkout #2682
Conversation
marketplaceMerchantSettings only shows up for non-primary shop owners. Will be used for stripe merchant account setup and other merchant specific settings
only show switch to primary shops if marketplace is enabled.
This should probably replace getPackageSettingsWith options, but not sure what our deprecation path should look like right now.
…s reaction-stripe pkg
…dy completed Stripe account setup.
…xRates for each shop
Also adjusts getSummary function to support shopId filtered reducers
For some reason two auths in Stripe equal an auth then immediate deauthorization
…stripe-connect-merchant-signup # Conflicts: # imports/plugins/included/payments-stripe-connect/server/i18n/ar.json # imports/plugins/included/payments-stripe-connect/server/i18n/bg.json # imports/plugins/included/payments-stripe-connect/server/i18n/cs.json # imports/plugins/included/payments-stripe-connect/server/i18n/de.json # imports/plugins/included/payments-stripe-connect/server/i18n/el.json # imports/plugins/included/payments-stripe-connect/server/i18n/es.json # imports/plugins/included/payments-stripe-connect/server/i18n/fr.json # imports/plugins/included/payments-stripe-connect/server/i18n/he.json # imports/plugins/included/payments-stripe-connect/server/i18n/hr.json # imports/plugins/included/payments-stripe-connect/server/i18n/hu.json # imports/plugins/included/payments-stripe-connect/server/i18n/it.json # imports/plugins/included/payments-stripe-connect/server/i18n/my.json # imports/plugins/included/payments-stripe-connect/server/i18n/nb.json # imports/plugins/included/payments-stripe-connect/server/i18n/nl.json # imports/plugins/included/payments-stripe-connect/server/i18n/pl.json # imports/plugins/included/payments-stripe-connect/server/i18n/pt.json # imports/plugins/included/payments-stripe-connect/server/i18n/ro.json # imports/plugins/included/payments-stripe-connect/server/i18n/ru.json # imports/plugins/included/payments-stripe-connect/server/i18n/sl.json # imports/plugins/included/payments-stripe-connect/server/i18n/sv.json # imports/plugins/included/payments-stripe-connect/server/i18n/tr.json # imports/plugins/included/payments-stripe-connect/server/i18n/vi.json # imports/plugins/included/payments-stripe-connect/server/i18n/zh.json # server/methods/core/shop.js
…rge and call cart/submitPayment
This needs to be reversed once listing refunds for connect is figured out
I'm getting blocked while trying to set up the connect account for my merchant store. Putting in Stripe test account/routing number (https://stripe.com/docs/connect/testing) gives me this error |
So I haven't been able to reproduce the 404 error that happens when connecting stripe to a merchant account. I've fixed the issue that was happening when checking out a single product from the primary shop with taxes not setup. |
I was able to checkout using a second shop using the cherry-picked commit mentioned above. I got an error when I hadn't set up taxes though, and the tax configuration screen was little messed up, but the 404 error was no longer there as long I do "skip" and don't setup anything in the configuration screen. |
@zenweasel This should be ready ready for another review / PR now. I've added a test for the primary stripe charge method that should be a good example of how to create other (smaller hopefully) automated tests for the new Stripe package using Also all of your concerns have been addressed either through code or comments. |
After checking out with a primary shop only, I get this error if I try to approve an order
|
Retested and approvals working now. Merging per @spencern |
New Features
payments-stripe-connect
package and enables stripe connect onpayments-stripe
package.register.js
registry optionsshowForShopType
- Display this template only to shop types listed in the arrayhideForShopType
- Display this template to any shop type not listed in the arrayprovides
optionsmarketplaceMerchantSettings
- templates that provide marketplaceMerchantSettings will be listed in the marketplaceMerchantSetting section of the Shops dashboard panelTo Test:
ca_xxx
)Notes:
Demo Video: https://soapbox.wistia.com/videos/hsaL6MEH4u
Caveats:
This is a very large PR with more files than I wanted to touch. Part of why I'm cutting it off now and not continuing to implement the remaining stripe methods, taxes, and shipping.