Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In a particular use case where users get charged for SMS they send, I don't want users to be charged for verification messages though. While it is possible to work through some hoops in MESSAGE_PRE_PROCESS
to determine if an SMS is a verification message, it would be much simpler if the SmsPhoneNumberVerification service were to flag the 'is_verification_message'
option to TRUE
for messages that are number verifications.
Comment | File | Size | Author |
---|---|---|---|
#2 | sms-2906087-2.patch | 1.5 KB | almaudoh |
|
Comments
Comment #2
almaudoh CreditAttribution: almaudoh commentedComment #3
almaudoh CreditAttribution: almaudoh commentedComment #4
dpiPerhaps in the future we should have the ability to class a message. Similar to how emails in Drupal have an ID.
For now it looks consistent with what we have done in the past.
Comment #5
almaudoh CreditAttribution: almaudoh commentedThat makes a lot of sense. As I was making this patch, I was also wondering how this could be made extensible.
Comment #7
almaudoh CreditAttribution: almaudoh commentedCommitted / pushed to 8.x-1.x