-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] Add Sweego bridge #58322
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
[Notifier] Add Sweego bridge #58322
Conversation
92fdeda
to
2d58734
Compare
src/Symfony/Component/Notifier/Bridge/Sweego/SweegoTransport.php.orig
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Sweego/Webhook/SweegoRequestParser.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Sweego/Webhook/SweegoRequestParser.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Sweego/Webhook/SweegoRequestParser.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Exception/UnsupportedSchemeException.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Tests/Exception/UnsupportedSchemeExceptionTest.php
Outdated
Show resolved
Hide resolved
2d58734
to
4de21f4
Compare
Hi, I'm working on Sweego project, to answer about this, indeed the from is managed on our side but it's not different for each API Key. An optional sender ID (alphanumeric sender) can be configured on Sweego App and when sending an SMS, the sender ID will be taken as sender; if missing, a short number will be used as sender |
Hi @Wasta-Geek! Thanks for your advice about the Sender ID. Can you help me to implement it? I didn't find how/where to set this Sender ID in your documentation about SMS sending. We are close to finish this PR, let's do it together! |
4de21f4
to
9b92699
Compare
src/Symfony/Component/Notifier/Bridge/Sweego/SweegoTransport.php
Outdated
Show resolved
Hide resolved
Oops, I didn't see your question last time I checked the PR. |
9b92699
to
2ba041b
Compare
|
src/Symfony/Component/Notifier/Bridge/Sweego/SweegoTransport.php
Outdated
Show resolved
Hide resolved
2ba041b
to
368c89f
Compare
src/Symfony/Component/Notifier/Bridge/Sweego/SweegoTransport.php
Outdated
Show resolved
Hide resolved
506fdb9
to
34e8a96
Compare
I've been informed that webhook signature is available from Sweego. I'm working on the implementation on both Bridge Mailer and Notifier. For Notifier, would you prefer update this PR or a new one? |
34e8a96
to
ba55f32
Compare
Let's do it in a new PR. |
Thank you @welcoMattic. |
@welcoMattic Can you create a recipe? |
Sure, I'll create it this weekend with the doc PR |
… to them! (nicolas-grekas) This PR was merged into the 7.2 branch. Discussion ---------- [Mailer][Notifier] Sweego is backing their bridges, thanks to them! | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT After sponsoring `@welcoMattic` for their bridges (see #58322 and #57431), Sweego doubles down and is now also sponsoring the bridges themselves. Thanks to them! (and give Sweego a try ;) ) /cc `@Wasta`-Geek `@pydubreucq` Commits ------- 600d49e [Mailer][Notifier] Sweego is backing their bridges, thanks to them!
… on Sweego bridges (welcoMattic) This PR was merged into the 7.3 branch. Discussion ---------- [Mailer][Notifier] Add webhooks signature verification on Sweego bridges | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | yes | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT This PR follows the 2 previous ones (#57431, and #58322). It brings webhook signature verification to improve security. Sweego documentation about webhook is here https://learn.sweego.io/docs/webhooks/webhook_signature Commits ------- 9c59199 Add webhooks signature verification on Sweego bridges
This PR folllows
This Bridge brings Webhook support for
sent
event for now. Others will follow in the future.from
parameter is handled on Sweego side (AFAIK, it means onefrom
per API Key. @pydubreucq can you confirm my words?).