Prerequisities
Before installing “Click & Pledge Event Management 2.0” Package you must first:
- install “Click & Pledge PaaS Class Library” package version 2.0 or later
- install "Click & Pledge Payment-as-a-Service" version 8.0000 or later
- complete the Activation between Click & Pledge and Salesforce
- complete the "Click & Pledge Payment-as-a-Service" Post Installation instructions
During installation user needs to approve the ‘Third-Party Access’ by accepting the access permission, then continue the Installation.

Step 1: Approve Package API Access

Step 2: Choose Security Level

Step 3. Install Package

Site Creation
You must create a site URL unless you have already created one. At top right of Salesforce account under your account name, use the dropdown box to find 'Setup'. Once you click 'Setup' go to menu on left of page and find 'App Setup', 'Develop', then 'Site' and select 'New'Setup > App Setup > Develop > Site > New

You will go to a Sites page where you can enter a Domain Name you would like to use. Note: Be careful when creating domain name. It cannot be modified after creation.
Check availability for Domain name first then accept the terms and click the 'Register My Force.com Domain'.
Please note: The Force.com domain name cannot include periods or other characters. A common mistake is using such texts as: www.MyOrg.org - the entry for such a domain should be: MyOrg and will look like: http://MyOrg-developer-edition.na12.force.com

Select 'OK' that you agree you cannot modify your domain.

You will go back to the Sites page and you will see the URL you created. Click on 'New.'

Site Creation Instructions:

At ‘Site Label’, ‘Site Name’ and ‘Default Web Address’ type your desired text. At ‘Active Site Home Page’ user must select ' ExternalRegistrationPage' from lookup value. Then click Save. After that, open your created 'Site Label' and modify as suggested below.

Enable Visualforce
Click on 'SiteLabel"Go down to the Site Visualforce Pages section and click on Edit.

Enable the following ‘Visualforce Pages’ by adding the pages to ‘Enabled Visualforce Pages’ section. To do this you will need to select them then click on the Add arrow to bring into 'Enabled Visualforce Pages'. Once finished click on Save.
1.CnP_PaaS_EVT.EventListingPage
2.CnP_PaaS_EVT.ExternalRegistrationPage

Update 'Public Access Settings'
Then go to 'Public Access Settings' at your created Site.

After that click Edit at ‘Public Access Settings’ then set the settings as below.
(a) At 'Field-Level Security'
(i) Under Standard Field-Level Security
Please set all the fields of Contact object, view as Visible.

To make visible click ‘View’ beside of Contact Object Name and keep each field visibility as on and then ‘Save’ it.
NOTE: Please make sure any additional custom fields that you may wish to use in the event registration form are also visible.
(ii) ) Under 'Custom Field-Level Security’
Please Set the 'Custom Field Level Security', view as Visible. To do this follow this path
Setup -> Develop -> Sites -> Click on Site Label -> Public Access Settings -> then under Custom Field Level Security click the following list of Event Custom Objects and keep all the fields as visible.
To make visible click ‘View’ beside of Custom Object Name and keep each field visibility as on and then ‘Save’ it. These are:
- C&P Designer
- C&P Designer Content Data
- C&P Event
- C&P Event Account Information
- C&P Event Attendee Custom Information
- C&P Event Authenticate Device
- C&P Event Category
- C&P Event Check-In and Check-Out
- C&P Event Contact Field
- C&P Event Custom Field
- C&P Event Device Junction
- C&P Event Discount Plan
- C&P Event Layout
- C&P Event Level Group
- C&P Event Listing
- C&P Event Listing Junction
- C&P Event Question Section
- C&P Event Registered Attendee
- C&P Event Registrant
- C&P Event Registration Level
- C&P Event Setting
- C&P Event Temporary Contact
- C&P Event External Tab
- C&P Event Inventory Process
- C&P Widget

(c) In section 'Custom Object Permissions'
Give all the access to following Objects, and then ‘Save’ it. These are:
- C&P Designer
- C&P Designer Content Data
- C&P Event
- C&P Event Account Information
- C&P Event Attendee Custom Information
- C&P Event Authenticate Device
- C&P Event Category
- C&P Event Check-In and Check-Out
- C&P Event Contact Field
- C&P Event Custom Field
- C&P Event Device Junction
- C&P Event Discount Plan
- C&P Event Layout
- C&P Event Level Group
- C&P Event Listing
- C&P Event Listing Junction
- C&P Event Question Section
- C&P Event Registered Attendee
- C&P Event Registrant
- C&P Event Registration Level
- C&P Event Setting
- C&P Event Temporary Contact
- C&P Event External Tab
- C&P Event Inventory Process
- C&P Widget
To set Event Start/End Date and Time so it is consistent across Events and Event Listing Page, set the same 'Time Zone' and 'Locale' in Salesforce 'Personal Information' section and Salesforce 'Site User' section.
1. Check the Time Zone in your 'Personal Information' first. Go up to the top right corner menu and select your User Name > Setup > My Personal Information > Personal Information

(a) To get there follow this path: Your User Name (in menu at top right corner) > Setup > App Setup > Sites. Click at Site Label.

(b) Move to 'Public Access Settings'

(c) Go to 'View Users'

(d) Open the 'Site User' profile

(e) Edit the 'Site User' Profile

(f) Set the same 'Time Zone' as you did in your 'Personal Information' Detail [Set time zone, step 1]

Create Remote Site
To send the Events Tickets/Name Badges we need to have a Remote Site. Follow the below steps to create the Remote Site:Move to:
Name -> Setup -> Administration Setup -> Security Controls -> Remote Site Settings
Click at ‘New Remote Site’


Remote Site URL - Enter the Salesforce instance URL for the account to be connected. Example: https://na9.salesforce.com (The primary URL need to be used without the information followed after the first /)

Keep Site as ‘Active and then Click ‘Save’.