Registration with pre-filled values

From Barion Documentation
Revision as of 07:08, 26 March 2019 by Vinczei (talk | contribs) (Created page with "{| style="margin-left:2em;" align="right" | __TOC__ |} =Opening the Barion wallet registration page with pre-filled values= There are certain situations and business models w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Opening the Barion wallet registration page with pre-filled values

There are certain situations and business models where the user is required to obtain a Barion wallet before they are able to pay for goods or services in the shop. Automatically registering a Barion wallet for a user by third parties is strictly prohibited by law. However, Barion aids the third party in a way so they can supply specific values to pre-fill the registration form, so the process can be completed faster by the user. By using the following query string parameters, the third party can redirect the user to the Barion registration form so some fields are already filled for them.

Important: this is just a convinience feature! By modifying the URL the user can remove these values whenever they want.

Query string parameters for registering as an individual

Query string parameter Parameter type Parameter description
m string The E-mail address of the user.
isEmailLocked boolean Indicates wether the E-mail address field is locked or editable - true means locked, false means editable.

Example:

https://secure.barion.com/Registration?mode=NaturalPerson&m=user%40example.com&isEmailLocked=true

Query string parameters for registering as an organization

Query string parameter Parameter type Parameter description
m string The E-mail address of the user.
isEmailLocked boolean Indicates wether the E-mail address field is locked or editable - true means locked, false means editable.
on string The name of the organization.
ot string The city for the headquarters address.
opa string The postal/zip code for the headquarters address.
os string The street name for the headquarters address.
ohn string The house number for the headquarters address.

Example:

http://secure.barion.com/Registration?mode=Organization&[email protected]&on=Testdata+Company+Ltd&opa=98332&ot=San+José&os=Rockwood+Creek&ohn=32

Other query string parameters

These extra parameters can be used on both the individual and the organization registration page.

Query string parameter Parameter type Parameter description
r string The E-mail address OR topup code of the referring user, if applicable.
url boolean The URL where the user should be redirected upon successful registration. The e-mail address entered at the registration is appended to the URL as a query string parameter.

Warning: this feature is under development and is subject to change without notice!

Example:

Individual registration with referrer and redirect URL:

https://secure.barion.com/Registration?mode=NaturalPerson&m=user%40example.com&isEmailLocked=true&r=123456789&url=https://www.example.com/successfulregistration