establishCustomerProfileImmediately

Method Signature

Cart establishCustomerProfileImmediately(String email, String password);

Description

This function will create a new customer profile immediately and associate it with the cart. If the customer does not complete their order, the customer profile will still be created.

Parameters

String email – the email address of the customer. String password – the password to be used on the customer profile.

Result

Cart – the updated cart. The global cart variable is automatically updated after this call.



There are two examples for this method:
establish_customer_profile_1.2.1.html
establish_customer_profile_2.0.5.html

These examples are also online in the Integration Center.