Skip to Content
SandboxSubscriptionsWAP activation

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.

  1. CreateSubscription with ClientIP and no number. The response contains SubscriberAcceptanceChannel=AUTH_PAGE and AuthorizeUrl.
  2. 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).
  3. The subscriber confirms on the operator page and comes back to you with the result parameters.
  4. The subscription becomes Active and an EventType=APPROVED callback arrives. On refusal — Cancelled and REJECTED.

Return redirect parameters

OperatorParameters
MTS, Beeline (default)subscriptionid, msisdn, action = approved | cancelled | alreadyexist
MegafonSubscriptionID, operation_status = ok | noauth. Enabled by <TestInfo><OperatorID>20</OperatorID> at creation time; the same subscription also gets CancelUrl in the CancelSubscription response

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>
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>
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