Skip to content

06 Passing user data

Igor Timoshenkov edited this page Mar 21, 2019 · 1 revision

In order to pass already filled-in user information to the signup form, just pass those as the flowOptions to the VXPayJs call. Please see below for a simple example:

const flowOptions = {
    signupName: 'guestunique',
    signupPassword: 'mypwd',
    signupEmail: 'me@me.com'
};
vxpay.openSignup(flowOptions);

Those options would then be applied on the UI of the signup form:

UI with options

Clone this wiki locally