Cardinal Commerce Quick Start
Broadleaf Commerce offers an out-of-the-box Cardinal Commerce Paymetrics solution that requires little configuration and is easily set up.
This implementation should be useful for those desiring to utilize an SAP integration in their checkoutf low.
You must have completed the Cardinal Commerce Environment Setup before continuing
Adding Paymetrics Checkout Support
These instructions assume integration with the default Heat Clinic Demo Site modified by implementing the Paymetrics module installation.
- In your site's
applicationContext-security.xml
, add the following to theblCsrfFilter
"excludedRequestPatterns"
<value>/paypalcredit/**</value>
<value>/paypalexpress/**</value>
- On your checkout pgae, add the following to create a button for PayPalCredit:
<form th:action="@{/paypalcredit/communicate}" method="POST" novalidate="novalidate">
<input type="submit" class="button" value="PayPal Credit Checkout" />
</form>
For PayPalExpress:
<form th:action="@{/paypalexpress/communicate}" method="POST" novalidate="novalidate">
<input type="submit" class="button" value="PayPal Express Checkout" />
</form>
Done!
At this point, all the configuration should be complete and you are now ready to test your integration with Cardinal commerce. Add somethign to your cart and proceed with checkout.