Testing Configuration - SonarSoftware/customer_portal GitHub Wiki

The customer portal provides a couple of convenient functions to test your configuration before going live.

Testing Outbound Email

To test outbound email, type php /usr/share/portal/artisan sonar:test:smtp [email protected] replacing [email protected] with your email address. This will send a test email to the email address entered, using the SMTP credentials entered in your .env file. If you receive an email with the body This is a test email from the Sonar customer portal. If you received this, your portal email is working correctly!, then your email is setup correctly and you can proceed. If not, double check your configuration in your .env file, run php /usr/share/portal/artisan config:cache and try again.

Testing PayPal

If you have PayPal enabled, you can test your credentials by running php /usr/share/portal/artisan sonar:test:paypal. If the credentials are correct, the message Credentials tested successfully. will be returned. If they are not, you will receive an error message.

Once your configuration is working successfully, move on to linking your portal to your Sonar instance.