Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Congratulations on installing PosiPay! After your initial installation, you are now able to configure the features to make them accessible.

Note: Do this after installing the latest package.

Grant Access to PosiPay

To have access to the PosiPay features, assign PosiPay’s Permission Set to a User with a System Administrator profile.

  • Go to Set up Home page > Permission Set > PosiPay >

...

  • Go to Setup Setup > Home page > Click User Users under the Administration > Users section > System AdministrationChoose the user with the System Administrator profile

...

  • After clicking the User, click the Permission Set Assignment .> Edit Assignments

...

  • Choose PosiPay and click Add to Enabled Permissions Sets then click Save. The System Administrator now has access to all of the PosiPay objects and fields.

    11.03.2024_15.26.50_REC.png

...

In the next step, we will setup set up the webhooks from Stripe’s end, but first, you need to make sure you are configured to be able to listen to them correctly.

Create a new site fort for the Webhook List

  • In All Sites, click Builder next to the site you want to access.

  • Click Settings and select General.

  • Under Guest User Profile, click the profile name.

  • Click Apex Class.

...

  • Under the Available Apex Class find PosiPay Webhook Listener and add it to the Enabled Apex Classes

...

Enable Guest Access

In order for For Stripe to be able to engage with PosiPay, we need to create the right environment that allows Stripe to speak to certain objects within PosiPay.

Enable Communities

Enable the experience cloud Experience Cloud communities.
Setup > Digital Experiences > Settings > tick Enable Digital Experiences > click Save

...

  • Go to Setup > All Sites > Click New

...

  • Choose a template, for our Site, we choose Build Your Own (Aura).

...

  • Fill in the necessary information then click Create.

...

  • After doing so, click Builder.

...

  • Display the Stripe Form component.Click the Publish button in the upper right corner and it will show a confirmation message and click Publish.

  • Fill out the following fields below:

    • Required Fields

      • Gateway Account = Gateway ID

      • Payment Method = Credit Card; Direct Debit

      • Require CVC = TRUE

...

  • Click the Publish button in the upper right corner and it will show a confirmation message and click Publish.

...

Image RemovedAfter creating the Community Sites do the following configuration:

  1. Go to Setup Homepage> Home page

  2. In the Quick Find box search All Sites and click Builder

...

Webhook Object Access

Go to Set up > Search for Digital Experience in the Quick Find Box Setup > Click All Sites

  • In All Sites, click Builder next to the site you want to access.

  • Click Settings and select General.

  • Under Guest User Profile, click the profile name.

  • Click Object Settings.

...

After setting up Gateway Account Sharing Rules, do the same process with Gateway Account Event Sharing Rules.

...

Gateway Account and Gateway Event

Note: The same process will be set up in Gateway Account and Gateway Event.

Step 1: Rule Name

  • Label: Guest User Access

  • Rule Name: Guest_User_Access (Once the label is entered, the form should be automatically populated.)

...

Step 2: Select your rule type

  • Rule Type: Guest user access based on criteria

...

Step 3: Select which records to be shared

  • Field: Owner ID

  • Operator: equals

  • Value: Guest User ID

...

Step 4: Select the users to share with

  • Share with: Select the Guest User site

...

Step 5: Select the level of access for the users

...