*

Sorry, we didn't find any relevant articles for you.

Send us your queries using the form below and we will get back to you with a solution.

Security Configuration: Remove Public Site Sharing Rules

Public Site Sharing Rules

To strengthen the security following the Mandatory Security Configuration Update for Salesforce Sites, it is recommended to remove the Payments2Us related Public Site Guest User Sharing Rules for the objects containing sensitive data.

Complete the Post Upgrade steps as per the Payments2Us Package Version in your Salesforce org.

 

 

Payments2Us Version Recommended Sharing Rules to remove for the objects
11.6 Release
  • Recurring Payment (AAkPay__Recurring_Payment__c)
  • URL Token (AAkPay__URL_Tokens__c)
11.7 Release
  • 11.6 recommended objects, and
  • Payment Txn (AAkPay__Payment_Txn__c)
  • Campaign (Campaign) 

 

Version 11.6 Post Upgrade Steps:

  1. Go to the Merchant Facility and add the objects listed above to the Excluded from Sites Sharing Settings field.
    1. If the options are not available, add the following Object API Names as options to the picklist field: AAkPay__Recurring_Payment__c, AAkPay__URL_Tokens__c.  
  2. App new options to the Excluded from Sites Sharing Settings field on all Merchant Facilities.
  3. Go to Setup → Sharing Settings and remove the existing Public Site Guest User sharing rules for these objects.


Version 11.7 Post Upgrade Steps:

  1. Complete Version 11.6 Post Upgrade Steps.
  2. Go to the Merchant Facility and add AAkPay__Payment_Txn__c and Campaign to the Excluded from Sites Sharing Settings (AAkPay__Excluded_from_Sites_Sharing_Settings__c) field – on all Merchant Facilities.
    1. If the options are not available, add the following Object API Names as options to the picklist field: AAkPay__Payment_Txn__c, Campaign.  
  3. Go to Setup → Sharing Settings and remove the existing Payments2Us related Public Site Guest User sharing rules for Payment Txn and Campaign object.

 

Mandatory steps for removing Campaign Sharing Rule

Steps below are required to make the images uploaded in Rich Text Area fields (such as Payment Form Text field) visible on the Public Web Forms for existing campaigns. It needs to be performed once only.

 
  1. Go to Setup → Object Manager → Campaign → List View Button Layout. Edit List View, scroll down to Custom Buttons section and select the "Publish RTA Images" button and Save.
  2. Open Campaign list view, click Publish RTA Images button and hit Process. 

For more details, please review How to setup Sites Sharing Settings.

Campaign Rich Text Area (RTA) field Images

Starting with Payments2Us Version 11.7, the images uploaded to Campaign Rich Text fields, such as Payment Form Text, are saved as publicly accessible attachments. Public web forms use these attachments to display the images after the Campaign sharing rule is removed.

For images uploaded in existing active Campaigns, complete the one-time Publish RTA Images step above so they remain visible on public payment forms.

Avoid deleting these attachments. Otherwise the images will be invalid/unavailable on the public forms.

 

 

Updated at December 4th, 2026

Was this article helpful?