Welcome to the "Pushing the Limits" series, where we find different ways to maximize the functionalities of Dynamics 365 to solve unique problems!
In this article, we are taking a look at a scenario where you would be able to configure the system so that your clients can pay for an order without having the need to be logged into the portal. This also includes members that do not have Portal login credentials! In this example, a workflow will be used to send emails to clients with a direct link to the order payment page. Here is how to set it up:
Note: For this functionality, your CobaltCore solution will need to be 3.9 or higher.
- In this example, a Membership Renewal email will be sent out including a direct link to the Membership Dues Order payment page.
- Since it is a Membership Renewal email, the automatic process is set to trigger when a Dues Item record is created. You may configure the workflow to what makes most sense for you.
3. Add a “Send Email” step in the workflow and click on Set Properties
- This is where you will set up all the information that the email will contain, including the dynamic Check Out URL value
4. Once complete, save and activate the workflow and test to confirm it works
- Click on the link and confirm that the user is navigated to the order payment page and can complete the payment process without logging in.
- Note: the URL will contain “Public” which means no credentials are required. (ex. https://salesdemo.cobalttest.net/Public/Checkout/OrderSummary.aspx)
Simpler Option: Portal User Link Generation
Additional to creating custom workflows that can send emails that include the Check Out URL, Portal users can also send emails including the Check Out URL to other people directly from the Portal.
Verify the "EnableAnonymousOrderPayment" Service Configuration Service is set to True
This Service Configuration Service record will exist in the Application Configuration
When a Contact is on the portal and has an active Order, a "Send Link to Pay" button will be available from the ~Sales/OrderDetails.aspx page of the Order
Clicking "Send Link to Pay" will generate an Email pop up including the Check Out URL of the Order.
Portal users can customize their email message and select the email recipient before sending the email.
Note: Turning off the service configuration doesn’t make it so the Check Out URL is not generated - it just hides the "Send Link to Pay" button on the portal.
Check Out URLs feature configuration
There is a workflow that has been created in regards to the Check Out URLs generation. The "Generate Anonymous Check Out URL" workflow generates the Check Out URL upon order creation. If this workflow is inactive, the entire Check Out URL feature will not function.