-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
🐞 Marketplace
: Shopper
and Vendor
received duplicated Order
Notification
#1656
Comments
Marketplace
ordering: shopper (and Convene support) received duplicated email notificationsMarketplace
ordering: shopper (and Convene support) received duplicated email notifications
Marketplace
ordering: shopper (and Convene support) received duplicated email notificationsMarketplace
: Shopper
and Vendor
received duplicated Order
Notification
Gonna tilt at this one next, now that #1657 has two possible fixes in open PRs |
… and `Vendor` - #1656 So, this is a bit of a mound-o-changes that may want to be split out; in particular: - `StripeCLI#with_stripe` now emits the stripe-cli's stderr and stdout to the Rails logger; rather than swallowing them whole - It tells `Capybara` not to use `rack-test` - *Successfully* forward stripe events which was apparently not actually happening before - Confirm a single email is sent to the `Shopper` and `Vendor`
Good news: I wrote a test to prove only a single Bad news: The test passes So I started digging through the logs, and what appears to be happening is:
This indicates to me a few things:
Another thing I noticed is that stripe webhooks fires events for every webhook registered on the account; which makes me think that the place we really want |
- #1656 Stripe sends every event to every `Stripe::Webhook` listening for it's type; which makes a lot of sense but does not play well with our current design where every Marketplace creates their own `Stripe::Webhook`. In the short-term, discarding events for orders that do not belong to the given `Marketplace` gets us away from accidental double-mailing (or worse, double-transfering!)
OK, once #1699 gets merged, we should be able to re-test on a Space with multiple Marketplaces and confirm only one email gets sent. |
- #1656 Stripe sends every event to every `Stripe::Webhook` listening for it's type; which makes a lot of sense but does not play well with our current design where every Marketplace creates their own `Stripe::Webhook`. In the short-term, discarding events for orders that do not belong to the given `Marketplace` gets us away from accidental double-mailing (or worse, double-transfering!)
…r` (#1694) - #1656 So, this is a bit of a mound-o-changes that may want to be split out; in particular: - `StripeCLI#with_stripe` now emits the stripe-cli's stderr and stdout to the Rails logger; rather than swallowing them whole - It tells `Capybara` not to use `rack-test` - *Successfully* forward stripe events which was apparently not actually happening before - Confirm a single email is sent to the `Shopper` and `Vendor`
Marketplace
:Order
Notification
s andTimeline
#1331When a new order was placed on one of the Piikup marketplaces, both the shopper and the convene-support@ email address received the order confirmation notification twice. Only one notification should be sent to each address, however.
The text was updated successfully, but these errors were encountered: