An example of enabling the SMS key feature in Site News
1. After you have fulfilled the actions listed above, you can start setting up paid access to the website entries. To do this go to Control Panel -> Design customization -> Page with full entry text and associated comments
The following codes are available here: The condition that checks whether a user can view the entries or he/she hasn't sent the SMS message yet.
The link to receive a code via SMS, where ID is your SMS key ID. You can find it in your SMScoin account (the first column).
2. Let's create a code for the SMS payment link that allows access to entries (e.g. a news entry text). It is simple, the ready-to-use code is below, you just need to paste your ID:
<?if($SMS_ISPAID$)?>$MESSAGE$<?endif?><?else?>This content is paid. To view it you need <a href="<?$SMS_PAYFORM$(229750)?>">to pay</a> via SMS<?endif?>
Embed this code into the necessary template and save.
The payment link will look like this on the website (for the Users group):
A user will get access to the entry text after the payment.
How does the SMS key service work?
1. Click "Pay". Select your country and your mobile network operator in the Ajax window that will appear.
2. You will receive a code in a response text message. Enter the code into the corresponding field of the Ajax window. Click "Continue" and you will be able to access the entry text.