Hi,

I am working on implementing billing for tenant registration, if the
selected account is not a "Demo" account. This is going to make the tenant
registration process change since there is redirection to/from Paypal. Here
is the registration process we discussed;

The registration will happen in a wizard from where initially the tenant
don't select a usage plan, once the user clicks next we register a tenant
with a demo account. In the 2nd step the user will be promoted to select a
usage plan, here if he continues to proceed with a Demo account the
registration is completed. Else we redirect to paypal for payment details
and then upgrade the tenant's usage plan from Demo to SMB (for example).
Since this upgrade operation will require the tenant domain (since there is
no CarbonContext at registration time etc) we need to make this operation a
SuperTenant operation. An advantage of this approach is that a tenant will
be registered regardless of the payment happening or not, but there will be
an additional step involved in tenant registration.

Another way is to alter the current registration process to do all
validation (including capture) etc in the 1st step (ajax calls) and then
redirect to paypal depending on the usage plan selected etc. In this case
if the user doesn't pay then there is no tenant registered at all. Also
this will require more changes to the admin service.

Based on these decisions we discussed offline I am planning on going ahead
with the two step registration process (registering a Demo tenant and then
upgrading on the 2nd step). Please holler is there are any concerns ...

-- 
Thanks,
Shariq.
Phone: +94 777 202 225
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to