WAP activation
A third way to subscribe: the merchant does not know the subscriber’s number — the operator gateway determines it. CreateSubscription carries ClientIP instead of Subscriber_MSISDN, the response carries AuthorizeUrl, and after confirmation the subscriber returns to the address configured for your project.
CreateSubscriptionwithClientIPand no number. The response containsSubscriberAcceptanceChannel=AUTH_PAGEandAuthorizeUrl.- Redirect the subscriber to
AuthorizeUrl. You may append?ReturnUrl=result.php— a relative path glued to the project’s base return address — and?ext_lp_template=…(the mock accepts and logs it; there is a single landing design). - The subscriber confirms on the operator page and comes back to you with the result parameters.
- The subscription becomes
Activeand anEventType=APPROVEDcallback arrives. On refusal —CancelledandREJECTED.
Return redirect parameters
| Operator | Parameters |
|---|---|
| MTS, Beeline (default) | subscriptionid, msisdn, action = approved | cancelled | alreadyexist |
| Megafon | SubscriptionID, operation_status = ok | noauth. Enabled by <TestInfo><OperatorID>20</OperatorID> at creation time; the same subscription also gets CancelUrl in the CancelSubscription response |
Sandbox
The number is derived from ClientIP deterministically. The same IP means the same subscriber, so coming back from the same address reproduces action=alreadyexist. Change ClientIP to get a new subscriber.
If the project has no return address configured, the confirmation page shows the result in place — there is nowhere to redirect. Ask the sandbox administrators to set one.
CreateSubscription — WAP
<Request>
<SubscriptionProjectID>2001</SubscriptionProjectID>
<ClientIP>80.70.60.50</ClientIP>
<Localization>ru-RU</Localization>
<Now>20260817120000</Now>
<Signature>d2f36558ca5455be...</Signature>
</Request>Sandbox
Response
<Response>
<StatusName>REQUEST_ACCEPTED</StatusName>
<SubscriptionID>10000003</SubscriptionID>
<SubscriberAcceptanceRequired>true</SubscriberAcceptanceRequired>
<SubscriberAcceptanceChannel>AUTH_PAGE</SubscriberAcceptanceChannel>
<AuthorizeUrl>https://subs-sandbox.digitalspb.com/subscription/r/8c0c8870-...</AuthorizeUrl>
<OperatorID>22</OperatorID>
<PaidUntil>2026-09-16T12:00:00+03:00</PaidUntil>
</Response>Sandbox
Coming back to the merchant site
# redirecting the subscriber
https://subs-sandbox.digitalspb.com/subscription/r/8c0c8870-...?ReturnUrl=result.php
# MTS / Beeline
https://partner.example.com/result.php?subscriptionid=10000003&msisdn=79601234567&action=approved
# Megafon (OperatorID=20)
https://partner.example.com/result.php?SubscriptionID=10000003&operation_status=ok