If you encounter an issue where online payments fail to send payment receipts, while payments processed within Salesforce generate payment receipts, please refer to the troubleshooting guidelines below to resolve the problem:

  1. Email Deliverability Settings:

    Salesforce has email deliverability settings that determine whether emails can be sent successfully. The first step in troubleshooting is to check the organization-wide email deliverability settings in Salesforce. If the settings are set to "System Email Only", there might be limitations on the volume or content of the emails being sent. Adjusting the settings to "All Email" can help ensure that payment receipt emails are sent.


2. Org Wide Email Address Configuration:

In Salesforce, the Org Wide Email Address is a crucial setting that determines the sender's email address for automated emails, including payment receipt emails. If the Org Wide Email Address is not properly set up for the payment site guest user, it can lead to payment receipt emails not being received by the intended recipients. Let's explore this issue further.

  • Verify Org Wide Email Address Configuration:
    Check the Org Wide Email Address configuration in Salesforce. This setting defines the default email address that appears as the sender for automated emails. Ensure that the Org Wide Email Address is correctly set up and associated with the appropriate guest user or profile responsible for sending payment receipt emails.

        Go to Setup | Email | Organization-Wide Addresses


3. Check if Guest Site User Email match with Org Wide Email Address:

To ensure the successful delivery of payment receipt emails in Salesforce, it is important to match the email address of the guest site user with the assigned Org Wide Email Address. 

  • Verify Guest Site User Email:
    Check the email address associated with the guest site user who is responsible for sending payment receipt emails.

    Go to Setup | Sites and Domains | Sites 

      Click the Public Access Settings


      Click View Users

      Click the Site Guest User to verify the email address

NOTE: If the Org Wide Email Address does not match the email address of the guest site user, update the Org Wide Email Address to reflect the correct email address. This step is crucial to ensure that the recipient recognizes the sender's email address and trusts the payment receipt email.

Conclusion:

Configuring the Org Wide Email Address is an essential step in ensuring the successful delivery of payment receipt emails in Salesforce. Without setting up this address properly, payment site guest users may encounter issues with sending emails, resulting in non-receipt of payment receipts by the intended recipients. By verifying and configuring the Org Wide Email Address for the payment site guest user, granting the appropriate email sending permissions, and conducting thorough testing, businesses can overcome this issue and ensure that payment receipt emails are reliably delivered to customers.