Amazon SNS
First 100 SMS are free, additional messages to the US or any messages sent to non-US phone numbers are charged based on the pricing
https://aws.amazon.com/sns/sms-pricing/
- Download the AWS SDK from here
- Upload the downloaded zip file to your
wordpress directory/wp-content/uploads/xootix-sms-sdks folder.
You can either do this via hosting panel or use this plugin
For PRO users - You can skip this step and simply go to OTP plugin settings and click on "Download SDK" from there
- Go to your OTP login settings page and select "Amazon" as phone operator. Make sure to click on save, even if its already selected.
-
Signup for amazon web services.
-
Login to your aws console.
-
From the top right corner, select region "US East (N. Virginia)us-east-1" irrespective of your location.
-
Search for service SNS or SMS notification service and select the service.
-
Go to topics and create a new topic. Provide any name. For this tutorial we are using the name "OTPService"
-
Navigate to Mobile -> Text messaging (SMS) , scroll down to "Text messaging preferences" & click on edit.
Select Default message type to Transactional(*) & save.
-
From the top right corner, click on your profile name & select "My security Credentials"
-
Navigate to access management -> Users -> Add User
-
Provide any user name and set access type to "Programmatic access". Click on next
-
Set permissions to "Attach existing policies directly" & select "AmazonSNSFullAccess" policy. Click on next.
-
Skip "add tags". Click on next
-
Click on create user
-
Please note down your API keys, or download a csv file. You won't able to access them again.
-
Go to your wordpess dashboard -> Mobile login settings -> Services & paste the API keys here.